32.哈希值_IT

 

 

        Student student = new Student("學生1", 11);
        System.out.println(student.hashCode());//356573597
        String s1="信息";
        String s2="科技";
        String s3="重地";
        String s4="通话";
        System.out.println(s1.hashCode());//658606
        System.out.println(s2.hashCode());//991951
        System.out.println(s3.hashCode());//1179395