Class.toString

Class.toString

Class Overview | Class Members | This Package | All Packages

Syntax
public String toString()
Returns
a string representation of this class object.
Description
Converts the object to a string. The string representation is the string "class" or "interface" followed by a space and then the fully qualified name of the class. If this Class object represents a primitive type, returns the name of the primitive type.

Overrides
toString in class Object