There are many grammatically correct sentences that can be understood, but sound very awkward. " "The class began at 7 o'clock" sounds more natural, and less awkward to me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.