Question: what is canonical representation for the string object?
Answer: lang. String. intern() method returns a canonical representation for the string object. A pool of strings, initially empty, is maintained privately by the class String. For any two strings s and t, s.