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.
c. write an equals method that will make a field by field compare of the two objects
Computer Science & Information Technology