In String toString() method returns this and when i pass it System.out.println() it prints the content of the String. It is c
toString()
this
System.out.println()
String
The toString method, defined on Object in Java is responsible for converting the object to a String representation. Since String is already a String, the toString method simply returns itself.
toString
Object