![]() |
VOOZH | about |
public String toString()Parameter: This method does not accept any parameter. Return Value: This method returns the String representation of this object. Below programs demonstrate the toString() method. Example 1:
Class represented by c1: class java.lang.String
Class represented by c2: int Class represented by c3: void