toString() method

Syntax

String toString ()

Returns

a String representing this instance

Usage

Returns a string representation of this object.

a String representing this instance