Java - Wrapper Classes
What will be the output of this code?
Listlist = new ArrayList<>(); list.add(10); list.add(null); System.out.println(list.get(1));
Listlist = new ArrayList<>(); list.add(10); list.add(null); System.out.println(list.get(1));
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions