When you print an object, by default the Java compiler invokes the toString() method on the object. So by overriding the toString() method, ...
確定! 回上一頁