Which sequence will be printed when the following program is run?
import java.util.*;
public class Test
{
public static void main(String str[])
{
List l = new ArrayList();
l.add(''1'');
l.add(''2'');
l.add(1,''3'');
System.out.println(l);
}
}
Correct Answer: [1, 3, 2]
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions