Answer:
18
Explanation:
We know that the girl to boy ratio is 8:6 and we are told that there are 24 girls.
We multiply 8 by 3 to give us 24, so if we multiply by 3 on one side we must multiply by 3 on the other side.
This gives us a final answer of 24:18, so there are 18 boys in the class.