What is Getclass () getName () in Java?

Java Class getName() Method The getName() method of java Class class is used to get the name of the entity , and that entity can be class, interface, array, enum, method, etc. of the class object.

Sizin İçin Seçtik  How constructor is used in Java with example?

Leave a Reply

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