If class A inherits class B then class A is called the ___________.
Suppose you have two classes called Flight and Passenger. What is the best relationship you can create between the two classes?
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);}