Collections and Generics

© examsiri.com
Question : 34 of 53
 
Marks: +1, -0
Given:
1. import java.util.*;
2. public class Test {
3.   public static void main(String[] args) {
4.    List < String > strings = new ArrayList < String > ();
5.    /* insert code here*/
6.   }
7. }

Which four, inserted at line 5, will allow compilation to succeed?(Choose four.)
Go to Question: