多选题 Which statement is false about the toString method?
  • A. The toString method is a method of the Object class.
  • B. The toString method returns a string representation of the object.
  • C. The toString method must return the object's state information in the form of a string.
  • D. The toString method is commonly overridden.
【正确答案】 C
【答案解析】当toString方法常用来返回对象的状态信息时,任何可以收集的信息都可能以字符串返回。A、B和D不是正确答案,因为它们的表述都是正确的。A不正确,因为toString方法是Object类的一个方法。B不正确,因为toString方法返回一个表示对象的字符串。D不正确,因为toString方法通常也被重写。