Computer Science, asked by aAmanPandey, 7 months ago

what is the difference between = and == in java​

Answers

Answered by silent9
6

In general both equals() and “==” operator in Java are used to compare objects to check equality but here are some of the differences between the two: ... In simple words, == checks if both objects point to the same memory location whereas . equals() evaluates to the comparison of values in the objects.

Hope its help

#thanks#❤

Answered by agarwalmohit77177
0

Answer:

the above ones are correct i have analised it

Similar questions