What is the difference between `==` and `equals()` in Java?
`==` is a reference comparison operator that checks if two objects point to the same memory location, while `equals()` is a method that checks if two objects are logically equivalent.
Well done! You've explained the difference clearly.
Can you explain what would happen if two objects of a custom class are compared using `==`?