1.

Differentiate between = &== in java​

Answer»

EXPLANATION:

Answer. Main DIFFERENCE between == and EQUALS in Java is that "==" is USED to compare primitives while equals() method is recommended to check equality of OBJECTS.



Discussion

No Comment Found