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
Math,
1 month ago
Sociology,
1 month ago
Physics,
1 month ago
Computer Science,
2 months ago
Social Sciences,
2 months ago
Math,
8 months ago