单项选择题

They were (used to) (hear) him (singing) in a cheerful voice in the classroom when he thought (no one) was near.

A.used to
B.hear
C.singing
D.no one