Inherited default behavior of the toString method

The toString method is defined with default behavior in the Object class.

Because every class is a subclass of the Object class, every class inherits that method.

If the toString method

File: dk.htm [Next] [Prev]