1.What is the difference between == and .equals() in Java?

---- Answer:
== compares object references (memory location)
.equals() compares object content (defined in the class)





What is the difference between final, finally, and finalize() in Java?


Answer:

• final: Used to declare...