Question OOP-CLS-0029
EasyIn Java, what does == compare when used on two object references?
- A.
The objects' sizes
- B.
The objects' class names
- C.
Whether the objects have equal contents
- D.
Whether both references point to the same object
Sign up free to see the answer and a step-by-step explanation.