publicclassArrayTest{publicstaticvoidmain(String[]args)……
publicclassArrayTest{publicstaticvoidmain(String[]args){floatfl[],f2[];fl=newfloat[10];f2=f1;System.out.println(f2[0]=+f2[0]);}}Whatistheresult?()
A.Itprintsf2[0]=0.0.
B.Itprintsf2[0]=NaN.
C.Anerroratline5causescompiletofail.
D.Anerroratline6causescompiletofail.
E.Anerroratline6causesanexpectationatruntime.