While two students are jumping, others in a classroom are sitting or standing.
Two students jumping in a class.
Students are playing inside the classroom.
"A class" is the definition of "others in a classroom."
A class is usually in a classroom.