重写equals方法判断类的值是否相等 public class Student { private int id; private String name; private String className; private String sex; public Student() { } public int getId() { Other 2024-06-27 44 点赞 0 评论 66 浏览