Multiple Choice
If object1 and object2 are objects of the same class, to make object2 a copy of object1 __________.
A) write a method for the class that will make a field by field copy of object1 data members into object2 data members
B) use the copy method that is a part of the Java language
C) use the default constructor to create object2 with object1 data members
D) use an assignment statement to make object2 a copy of object1
Correct Answer:

Verified
Correct Answer:
Verified
Q6: If the following is from the method
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
Q12: To compare two objects in a class,
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