What is getClass?

getClass() is the method of Object class . This method returns the runtime class of this object. The class object which is returned is the object that is locked by static synchronized method of the represented class.

Leave a Reply

Your email address will not be published. Required fields are marked *

What is getClass?

getClass() is the method of Object class . This method returns the runtime class of this object. The class object which is returned is the object that is locked by static synchronized method of the represented class.

Leave a Reply

Your email address will not be published. Required fields are marked *