Points To Remember equals() , method is a method of the Object class, hence is available in all classes. Syntax of equals in Object class is public boolean equals(Object obj) . It return true if two objects are same, in object class it just checks if the two references points to the same class. We can override the equals method to provide custom logic to say the two objects are same. See How to override equals method , Concept: Making two objects same. Suppose we have a Book class and each object represents a book. We create three objects book1, book2 and book3 (new keyword always creates a new object) and the objects book1, book2 refer to same book same with name 'Think Think' and id '1', book 3 refers to book 'Bad Kitty'. So in real case scenario the book1 and book2 objects should be same or equal. id=1, name = Think Think id=2, name= Bad Kitty So lets check how many objects are created and if they are equal when their member variables are same. (According...