equals stack overflow
public class Pizza extends Store {
public Pizza(int strong){
super.changeStrength(strong);
}
@Override
public boolean equals(Object o){
if(o!=null){
if(super.getStrength()==((Pizza)o).getStrength()){
return true;
}
}
return false;
}
}