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 API
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
Q17: The only limitation that static methods have
Q22: enum constants have a toString method.
Q24: The "has a" relationship is sometimes called
Q31: Given the following method header, what will
Q33: Overloading is<br>A) writing a method that does
Q35: When a method in the _ class
Q36: When a method's type is an object,
Q37: Assume the class BankAccount has been created
Q40: A method's signature consists of<br>A) the method
Q46: You can declare an enumerated data type