In netbeans
Extracted text: Trace these print statements using the following arrays. Write "error", if an error occurs. double [] myArray = {10, -9, 8, 1000, 0, 6, 13}; int [] mScores = {59, 85, 82, 78, 70, 75, 72, 0}; double [] Gpa {1.5, 3.3, 2.7, 3.7, 2.4, 4}; String [] Days { "Mon","Tue","Wed","Thu","Fri","Sat","Sun"}; double total 0; For (int J = 0 ; J<= gpa.length-1="" ;j="" ++)="" {="" total="" +="Gpa[J];" }="" s.o.p="" (myarray[0])="" ;="" s.o.p="" (myarray[6]);="" s.o.p="" (myarray.length)="" ;="" s.o.p="" (myarray="">=>