What will be the output of the following code? import java.util.*; public class Hello { public static void main(String arg[]) { ArrayList<Integer> list= new ArrayList<Integer>(); list.add(10); int total=list.get(0); System.out.println(total); } }
Reveal answer
Fill a bubble to check yourself