الرجوع
الصوت
المظهر
تسجيل الدخول
علامة (يتطلب تسجيل الدخول)
تم الحل (يتطلب تسجيل الدخول)
Question 23/25
To compare two objects in a class by values, we use _____
A. Use the
==
operator, e.g., 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. Since objects consist of several fields, you cannot compare them.
Previous
Next