Collections and Generics

© examsiri.com
Question : 41 of 53
 
Marks: +1, -0
Given:
import java.util.*;
class Test {
  public static void main(String[] args) {
   /* insert code here*/
   x.add("one");
   x.add("two");
   x.add("TWO");
   System.out.println(x.poll());
  }
}

Which, inserted at /* insert code here,*/ will compile? (Choose all that apply.)
Go to Question: