What is the difference between == vs equals() in Java?, Always remember to override hashCode if you override equals so as not to “break the contract”.
static method in interface, Why can’t I define a static method in a Java interface? Java 8 permits static interface methods