KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test1 > CCTest1iv


1 package test1;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.List JavaDoc;
5
6 public class CCTest1iv {
7     private static List JavaDoc<String JavaDoc> l; //Check the CC after <
8

9     public static void main(String JavaDoc[] args) {
10         l = new ArrayList JavaDoc<String JavaDoc>(); //Check the CC after <
11

12         l.add("Hello, world"); //Check the signature of the method provided by the CC
13

14
15     }
16 }
17
Popular Tags