KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test2 > CCTest2v


1 package test2;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.List JavaDoc;
5
6 public class CCTest2v {
7     
8     public static void main(String JavaDoc[] args) {
9         List JavaDoc<String JavaDoc> l; //Check the CC after <
10

11     l = new ArrayList JavaDoc<String JavaDoc>(); //Check the CC after <
12

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

15
16     }
17 }
18
Popular Tags