ref
class + mate
classmate (n.)
"one of the same class at school or college," 1713, from class (n.) + mate (n.).