differentiate between = &== in java
Answers
Answered by
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
History,
2 months ago
Math,
2 months ago
Computer Science,
6 months ago
Social Sciences,
6 months ago
Math,
11 months ago
English,
11 months ago