单项选择题

Hardly ______ entered the classroom when the bell began to ring.

A.he has
B.has he
C.he had
D.had he