Computer Science, asked by haramkhor11, 2 months ago

differentiate between = &== in java​

Answers

Answered by Anonymous
1

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.

Similar questions