Yurttas/PL/OOL/Java/F/04/01/03/AI.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 AI extends A 
16                implements I {
17
18  public void m() {
19    int i = geti1();
20
21    ++i;
22
23    seti01(i);
24  }
25
26  public void p() {
27    System.out.println(" i0 = " + i0 +
28                       " i1 = " + geti1()); 
29  }
30
31}