toString() method

A method to return serialzed form of all attributes and their values.

Syntax

String toString ()

Returns

a java.lang.String representation of all attribute names and their corresponding values.

Usage

a java.lang.String representation of all attribute names and their corresponding values.