This is because you are putting a student object into the array:
Student student[] = new Student[5];
newStudent.getName();
student[i] = newStudent;
strList.add(newStudent);
System.out.println(student[i]);
Here when you are printing, you are not printing the students name, but rather the object itself. Whenever you do a System.out.println on an object the hashcode is returned.
Was this your problem?