Java - Wrapper Classes
Given this code, what will be the output?
Listlist = List.of(1, 2, null, 4); int sum = 0; for (Integer n : list) { sum += n; // unboxing happens here } System.out.println(sum);
