Recipes to @Override “equals” and “hashCode” methods
equals Use == operator to compare object references. This is the most performance comparison. Use instanceof to check that both objects have same type. Cast the argument...
Creational Design Patterns
Creational patterns allow you to create objects while hiding the creational logic, which increase flexibility and code reusability, so you decide which objects need to be create...