Question 7 The following code has an example of ArrayList list = new ArrayList<>(); list.add(new Integer (2));
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 7 The following code has an example of ArrayList list = new ArrayList<>(); list.add(new Integer (2));
Question 7 The following code has an example of ArrayList<Integer> list = new ArrayList<>(); list.add(new Integer (2)); int num = list.get(0); auto-boxing auto-unboxing 5 pts