1/**
2 * Copyright(C) 1998
3 * All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4 *
5 * Permission to use, copy, modify, and distribute this
6 * software and its documentation for EDUCATIONAL purposes
7 * and without fee is hereby granted provided that this
8 * copyright notice appears in all copies.
9 *
10 * @date : January 1, 1998.
11 * @authorĀ : Salih Yurttas.
12 */
13
14
15public class A00 {
16
17 private static final int N = 4;
18
19 private static int[] a = new int[N];
20
21 static {
22 for(int i=0; i<N; i++)
23 a[i] = i*i;
24 }
25
26 public static void main(String[] args) {
27
28 for(int i=0; i<N; i++)
29 System.out.println(a[i]);
30
31 System.out.println();
32
33 for(int i=0; i<N; i++)
34 ++a[i];
35
36 for(int i=0; i<N; i++)
37 System.out.println(a[i]);
38
39 }
40
41}