What does getClass () do in Java?

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  How do you check if a variable is a string in Java?

Leave a Reply

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

What does getClass () do in Java?

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  Should I use Java objects?

Leave a Reply

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