What is class forName () does and how it is useful?

forName. Returns the Class object associated with the class or interface with the given string name, using the given class loader . Given the fully qualified name for a class or interface (in the same format returned by getName ) this method attempts to locate, load, and link the class or interface.

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 *