|Modifier and Type||Method and Description|
Returns the name of the class represented by this
Returns a string containing a concise, human-readable description of this object.
Classobject which represents the class with the given name. The name should be the name of a non-primitive class, as described in the
class definition. Primitive types can not be found using this method; use
If the class has not yet been loaded, it is loaded and initialized first. This is done through either the class loader of the calling class or one of its parent class loaders. It is possible that a static initializer is run as a result of this call.
className- Name of the class.
java.lang.ClassNotFoundException- if the requested class can not be found.
LinkageError- if an error occurs during linkage
java.lang.ExceptionInInitializerError- if an exception occurs during static initialization of a class.
public String getName()
Class. For a description of the format which is used, see the class definition of
public String toString()