Witscale Test Center

13.6 The java.lang.Object class


13.6 The java.lang.Object class

The Object class defines the basic behavior required by all Java classes in its methods. All Java classes are either direct or indirect subclasses of Object class. Hence, they automatically inherit its methods. You are familiar with Object class and some of its methods. Here we will quickly overview them.