KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test12 > CCTest12i


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