Importance of java.lang.obj

What is the significance of java.lang.object class?

Questions by sandyl2   answers by sandyl2

Showing Answers 1 - 6 of 6 Answers

java.lang.Object provides several methods which are common to objects. java.lang.Class object is created whenever JVM creates an object. java.lang.Class is a superclass of all objects and it describes the type of the object.

We all know that we can create any number of instances of a class.
Whenever we create more than one instance of a class, then all the instance of that class will share the same class Object inherited from java.lang.Object

  Was this answer useful?  Yes

sampra

  • Mar 6th, 2012
 

java.lang.Object provides several methods which are common to objects. java.lang.Class object is created whenever JVM creates an object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions