Question
When used to compare reference variables, the == operator works the sameas the Object class’s equals method. (T / F)
Step 1
The == operator in Java (and many other programming languages) is used to compare the reference or memory address of two objects. It checks if both references point to the same object in memory. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD