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.