![]() |
VOOZH | about |
public String toString()Parameters: This method accepts nothing. Return value: This method returns the string representation of this Optional instance. Below programs illustrate toString() method: Program 1:
String Representation: Optional[452146]
String Representation: Optional.empty