Usage patterns
〈場所〉の同級生a classmate from (a certain school)
He is a classmate of mine from high school.
〈人〉と同級生になるto become classmates with someone
After I moved, I ended up becoming his classmate.
同級生に会うto meet up with a former classmate
I met an old classmate at the reunion.