To be completely correct, you need the "the" here, but casually you might hear someone say it without the "the".
The reason as I see it is that "next class" is the subject of the sentence. If it played a different role, you might not need the "the".
Use of the articles is a tricky topic. There are rules, but they are a bit complicated to cover all the possibilities.