@@ -0,0 +1,290 @@
+// Demonstrate a one-dimensional array.%0Aclass ArrayDemo %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09int sample%5B%5D = new int%5B10%5D;%0A%09%09int i;%0A%09%09%0A%09%09for(i = 0; i %3C 10; i = i+1)%0A%09%09%09sample%5Bi%5D = i;%0A%09%09%0A%09%09for(i = 0; i %3C 10; i = i+1)%0A%09%09%09System.out.println(%22This is sample%5B%22+i+%22%5D: %22 + sample%5Bi%5D);%0A%09%7D%0A%7D%0A

Demonstrate a one-dimensional array