单项选择题

下列语句中,可以作为无限循环语句的是()。

A.for(;;){}
B.for(int i=0;i<10000;i++){}
C.while(false){}
D.do{}while(false)