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 A01 {
16
17 public static void main(String[] args) {
18
19 System.out.println("a0 /");
20 A a0 = new A();
21 System.out.println();
22
23 System.out.println("a0 /");
24
25 System.out.println(a0.i0);
26 ++a0.i0;
27 System.out.println(a0.i0);
28 System.out.println();
29
30 System.out.println(a0.i1);
31 ++a0.i1;
32 System.out.println(a0.i1);
33 System.out.println();
34
35 System.out.println("a1 /");
36 A a1 = new A();
37 System.out.println();
38
39 System.out.println(a1.i0);
40 ++a1.i0;
41 System.out.println(a1.i0);
42 System.out.println();
43
44 System.out.println(a1.i1);
45 ++a1.i1;
46 System.out.println(a1.i1);
47 System.out.println();
48
49 System.out.println("a2 /");
50 A a2 = new A();
51 System.out.println();
52
53 System.out.println(a2.i0);
54 ++a2.i0;
55 System.out.println(a2.i0);
56 System.out.println();
57
58 System.out.println(a2.i1);
59 ++a2.i1;
60 System.out.println(a2.i1);
61 System.out.println();
62
63 }
64
65}