0

What is the output of this code? ArrayList<String> list = new ArrayList<String>(); list.add("A"); list.add("B"); list.add("C");

23rd Nov 2020, 12:35 AM
Saima Tarannum
2 Answers
+ 4
There will be no output unless you print list, ie System.out.print(list);
23rd Nov 2020, 1:00 AM
D_Stark
D_Stark - avatar