To find the total number of students in the seventh-grade class, we need to add the number of students who prefer apples to the number of students who prefer oranges.
From the table:
- Students who prefer apples in 7th grade: 19
- Students who prefer oranges in 7th grade: 12
Now, we can calculate the total:
Total students in 7th grade = Students who prefer apples + Students who prefer oranges Total students in 7th grade = 19 + 12 = 31
Therefore, there are 31 students in the seventh-grade class.