public class FirstDemo {
public static void main(String[] args) {
Student s = new Student("张三", 23, "男");
System.out.println(s.getName() + ".." + s.getAge() + ".." + s.getSex());
Student11 ss = new Student11();
System.out.println(s.hashCode());
Class c = s.getClass();
String str = c.getName();
System.out.println(str);
System.out.println(s.toString());
Student w = new Student("张三", 23, "男");
Student ww = new Student("张三", 23, "男");
System.out.println(w.equals(ww));
}