✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which line indicate AUTOUNBOXING in the code snippet below?
ArrayList<Double> grades = new ArrayList<Double>();grades.add(3.2); // Line 1grades.add(2.7); // Line 2double sum = 0.0; // Line 3for (int i=0; i < grades.size(); i++) { sum += grades.get(i); // Line 4 System.out.println("Sum = " + sum);}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!