If there are only 4 classes, then yes, there will be enough room. This is because 24 x 4 = 96, so 96 is the total amount of students. 4 x 30 = 120, so the 4 buses can fit a total of 120 students. Since 96 is less than 120, there will be enough room. I hope I could help! :D