These analogies are always way too simple. The students in the class still missed the major point. If they study then they will gain the knowledge, that is the point of school.
Same thing with socialism in society. Will you want to work in a coal mine or at McDonald's just because you know you...