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.

Sizin İçin Seçtik  What is getClass method returns?

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.

Sizin İçin Seçtik  How can you tell if two objects have the same class?

Leave a Reply

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