noun
plural -mates
[count] :a member of the same class in a school, college, or university
Classmate can refer to someone who is taking the same class as you or to someone who will graduate from your school or college in the same year as you.