Yurttas/PL/OOL/Java/F/02/06/00/AA00.java

 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 AA00 extends AA {
16
17  private int i0;
18
19  public AA00() {
20    i0=2;
21  }
22
23  public void m1(int i) {
24    i0 = i;
25  }
26
27  public static void main(String[] args) {
28
29    AA00 aa00 = new AA00();
30
31    System.out.println(aa00.i0);
32
33    aa00.m1(4);
34    System.out.println(aa00.i0);
35
36  }
37
38}