import java.util.ArrayList; public class Sum { private double sum = 0; public void add(short newShort) { sum += newShort; } public void add(int newInteger) { sum ...
Would you say Autoboxing occurs at line 6? I would say no, because the array index has to be integer so any autoboxing is not necessary there? But i am not ...