单项选择题

下列代码中,将引起编译错误的行是( )。
① public class test
② public static void main(String args[])
③ float f=0.0;
④ f+=1.0;

A.第2行
B.第3行
C.第4行
D.第6行