equal equal 不适用于基本数据类型 equal 默认比较引用 https://i.cnblogs.com/EditPosts.aspx?postid=9986850 System.out.println(obj1.equals(obj2);