public boolean equals(Object obj) {
if (this == obj)
return true;
obj是equals的形参,对应的是equals后面()里面的实参
例如dog.equals(dog2),this代表的是dog,obj代表的是dog2