How do you find the class name for a reflection?

Getting class name using reflection If you want to get the class name using the instance of the Class. As you can see using the method getName() gives you the fully qualified name whereas getSimpleName() method gives you only the class name.

Sizin İçin Seçtik  How do you identify class and interface?

Leave a Reply

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