Identifying antecedents

10a. The antecedent in the following sentence is students: Students in online classes have to be organized to keep up with their assignments.
10b. The antecedent in the following sentence is class: Students in online classes have to be organized to keep up with their assignments.

My answer is (A). Is that correct? Thanks

2 answers

Yes, correct: Who has to be organized? Students.
Thank you.