Analyzethefollowingcode:publicclassTest{publicstaticvoidmain(String[]args){intn=10000*10000*10000;System.out.println("nis"+n);}}
A. Theresultof10000*10000*10000istoolargetobestoredinanintvariablen.Thiscausesanoverflowandtheprogramisaborted.
B. Theresultof10000*10000*10000istoolargetobestoredinanintvariablen.ThiscausesanoverflowandtheprogramcontinuestoexecutebecauseJavadoesnotreporterrorsonoverflow.
C. Theprogramdisplaysnis1000000000000.
D. Theresultof10000*10000*10000istoolargetobestoredinanintvariablen.ThiscausesanunderflowandtheprogramcontinuestoexecutebecauseJavadoesnotreporterrorsonunderflow.