Java Class forName() Method The forName() method of Java Class class returns the Class object associated with the class or interface with the given name in the parameter as String .
Read moreWhat is canonical class name?
Canonical name of a Java class is the name of the class along with the package . For example, the canonical name of the class File is java.
Read more