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