Multiple Choice
To compare two objects in a class, __________.
A) use the == operator (for example, object1 == object2)
B) write a method to do a byte-by-byte compare of the two objects
C) write an equals method that will make a field by field compare of the two objects
D) This cannot be done since objects consist of several fields.
Correct Answer:

Verified
Correct Answer:
Verified
Q7: An instance of a class does not
Q8: When a reference variable is passed as
Q9: _ is the term for the relationship
Q10: Assume the class BankAccount has been created
Q11: If object1 and object2 are objects of
Q13: Both instance fields and instance methods are
Q14: If you write a toString method for
Q15: The key word this is the name
Q16: The whole-part relationship created by object aggregation
Q17: The only limitation that static methods have