Everyone went to their classes.
A. It is correct.
B. It is a sentence fragment.
C. It needs a comma.
D. It has a pronoun-antecedent agreement error.