1 package test2; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 public class CCTest2 { 7 8 public static void main(String[] args) { 9 List<String> l; //Check the CC after < 10 11 l = new ArrayList<String>(); //Check the CC after < 12 13 l.add("Hello, world"); //Check the signature of the method provided by the CC 14 15 l.get(0).indexOf("Hello"); //Check the methods provided after the second dot. Check the type of the variable l shown after the first dot. 16 } 17 } 18