True/False
If you write a toString method to display the contents of an object, object1, for a class, Class1, then the following two statements are equivalent:
System.out.println(object1);
System.out.println(object1.toString());
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: You cannot use the fully-qualified name of
Q30: If a class has a method named
Q31: You cannot use the == operator to
Q32: If you attempt to perform an operation
Q33: Which of the following is not true
Q35: When the this variable is used to
Q36: When an object reference is passed to
Q37: When a method's return type is a
Q38: A static field is created by placing
Q39: A declaration for an enumerated type begins