class Student get method