单项选择题

已知:

要使程序正确编译需要在横线处添加哪句代码()

A.import java.lang.Math;
B.import java.lang.Math.*;
C.import static java.lang.Math;
D.import static java.lang.Math.*;