In Java, each object inherits (“has by default”) a toString method. • toString returns a String representation of the object.
確定! 回上一頁