Write TestEquals class so that main method of Puzzle3 class prints false.
TestEquals class
Puzzle3
false
Note: You cannot override equals method o
Instead of overriding equals you can overload equals
class TestEquals { // a common mistake which doesn't override equals(Object) public boolean equals(TestEquals te) { return false; } }