Question: What does using = = to compare 2 reference - type variables actually compare? ( Select the one correct answer ) It does
What does using to compare referencetype variables actually compare? Select the one correct
answer
It does a bytetobyte comparison of the two objects.
It does a comparison of the memory address of the two objects.
It can ONLY be used with native types like int, long, char, etc., NOT references.
It does a comparison using the equals" method defined for the objects being compared.
It does a comparison between all public data attributes of the objects being compared
None of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
