What is the output of the following Java code:
List<Integer> ar=new ArrayList<>();
ar.add (10);
ar.add (20);
ar.add (30);
ar.remove (0);
ar.remove(0);
ar.add (20);
Iterator i=ar.iterator();
while (i.hasNext ( ) )
{
int ab=(int) i.next();
System.out.print (ab+" ");
]
Answers
Answered by
2
Answer:
oooooooooooooooooooooo
ooooooooooooooooooooooo(oooooooooo)
Answered by
0
Answer:
00000000000000000000000
Similar questions