单项选择题

该程序的输出是() 

A.B::print()called.
B.A::print()called.
C.A::print()called. B::print()called.
D.B::print()called. A::print()called.