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

a. write a method for the class that will make a field by field copy of object1 data members into object2 data members

Computer Science & Information Technology

You might also like to view...

A(n) ________ is reserved area for text or graphics that displays at the bottom of each page of a document

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ property enables you to specify the source of the data for form or a report

A) Record Source B) Query Builder C) Property Sheet D) Split Form Orientation

Computer Science & Information Technology