Multiple Choice
If object1 and object2 are objects of the same class, to make object2 a copy of object1:
A) assign object1 to object2, such as object2 = object1;
B) write a copy method that will make a field by field copy of object1 data members into object2 data members
C) use the Java copy method that is a part of the Java language
D) use the default constructor to create object2 with object1 data members
Correct Answer:

Verified
Correct Answer:
Verified
Q5: The names of the enum constants in
Q14: If you write a toString method for
Q30: If a class has a method named
Q40: Assume the class BankAccount has been created,
Q41: Which of the following is NOT true
Q43: If you have defined a class named
Q45: To compare two objects in a class:<br>A)
Q47: The whole-part relationship created by object aggregation
Q50: An object's _ is simply the data
Q50: When a method's return type is a