Whatwillbetheresultofattemptingtocompileandrunthefollowingcode?()publicclassQ6b0c{publicstaticvoidmain(Stringargs[]){inti=4;floatf=4.3;doubled=1.8;intc=0;if(i==f)c++;if(((int)(f+d))==((int)f+(int)d))c+=2;System.out.println(c);}}A.Thecodewillfailtocompile.B.0willbewrittentothestandardoutput.C.1willbewrittentothestandardoutput.D.2willbewrittentothestandardoutput.E.3willbewrittentothestandardoutput.
Whatwillbetheresultofattemptingtocompileandrunthefollowingcode?()publicclassQ6b0c{publicstaticvoidmain(Stringargs[]){inti=4;floatf=4.3;doubled=1.8;intc=0;if(i==f)c++;if(((int)(f+d))==((int)f+(int)d))c+=2;System.out.println(c);}}
A.Thecodewillfailtocompile.
B.0willbewrittentothestandardoutput.
C.1willbewrittentothestandardoutput.
D.2willbewrittentothestandardoutput.
E.3willbewrittentothestandardoutput.