Converts the object to a string. The string representation is the
string "class" or "interface", followed by a space, and then by the
fully qualified name of the class in the format returned by
getName
. If this Class
object represents a
primitive type, this method returns the name of the primitive type. If
this Class
object represents void this method returns
"void". If this Class
object represents an array type,
this method returns "class " followed by getName
.
Diagram: Class, Package, Module