Since "What classes are there on Wednesday" are basically the same, the tense is the simple present tense. "what class" is an interrogative phrase, which consists of what class (there is not only one class in a day, so class is plural), followed by the auxiliary verb do (because the subject you is the second person), the predicate verb have, and finally the adverbial of Wednesday time.