单项选择题

()his father had come, his face lit up.

A. Having learned
B. When he learned
C. Heating
D. When learning