الرجوع
الصوت
المظهر
تسجيل الدخول
أنت تتصفح نسخة مؤرشفة من الموقع
اضغط للانتقال إلى الموقع الجديد بكامل المزايا
علامة (يتطلب تسجيل الدخول)
تم الحل (يتطلب تسجيل الدخول)
Question 23/25
To compare two objects in a class by values, we use _____
A. Use the
==
operator, e.g., object1 == object2
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.
B. Write a method to do a byte-by-byte compare of the two objects.
Previous
Next