getName

getName(): String;

The getName method of the Object class returns a string containing the class of the receiver. In this default implementation of the getName method, the description consists of the name of the class of the receiver.

A subclass can reimplement the getName method to provide a more-informative description appropriate to that class.