Answer:
Solution,
⇒Total students in class A=40
⇒Class B=5%
Now,
5% of 40 students
→5/100 × 40=2 students
Again,
→Number of students in class B =40 students + 2 students
=42 students
Hence, there were 42 students in class B.
Step-by-step explanation: