KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test11 > CCTest11ii


1 package test11;
2
3 public class CCTest11ii {
4     private static List<String JavaDoc> l; //Check the CC after <
5

6     public static void main(String JavaDoc[] args) {
7
8
9
10
11
12     }
13     
14     private static class List<T> {
15         public void add(T t) {
16             //nothing...
17
}
18         
19         public T get(int index) {
20             return null;
21         }
22     }
23 }
24
Popular Tags