What is the use of get class?

getClass() method returns the runtime class of an object . That Class object is the object that is locked by static synchronized methods of the represented class.

Sizin İçin Seçtik  What method does Object class have?

Leave a Reply

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

What is the use of get class?

getClass() method returns the runtime class of an object . That Class object is the object that is locked by static synchronized methods of the represented class.

Sizin İçin Seçtik  What is the difference between a primitive type and an object type?

Leave a Reply

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