KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ArrayInitTests2


1 public class ArrayInitTests2 {
2     public static void main(String JavaDoc[] args) {
3         ArrayInitTests2 a = new ArrayInitTests2();
4         a.run();
5     }
6     
7     private void run() {
8         int i = 0;
9         int[] a = { 2, 34, 5 };
10         int[] b = { 2, 3, 4, i };
11         int[] c = { 2, 8 };
12     }
13     
14 }
15
Popular Tags