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 do you declare a class name in Java?

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  What is the use of get class?

Leave a Reply

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