01: package test1;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05:
06: public class CCTest1 {
07: private static List<String> l; //Check the CC after <
08:
09: public static void main(String[] args) {
10: l = new ArrayList<String>(); //Check the CC after <
11:
12: l.add("Hello, world"); //Check the signature of the method provided by the CC
13:
14: 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.
15: }
16: }
|