KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > ArrayAccess


1 package org.netbeans.test.java.hints;
2
3 public class ArrayAccess {
4     
5     public ArrayAccess() {
6     }
7     
8     public static void main(String JavaDoc[] args) {
9         int a = x[0];
10         a = x[0];
11         
12         ArrayAccess aa = null;
13         
14         int b = aa.x[0];
15         b = aa.x[0];
16
17         int[][] x = null;
18     
19         a = x[0][u];
20         b = x[0][aa.u];
21         a = x[u][0];
22         b = x[aa.u][0];
23         
24         assert true : aa.s[0][1];
25     }
26 }
27
Popular Tags