1/**
2 * Copyright(C) 2003
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 : September 1, 2003.
11 * @authorĀ : Salih Yurttas.
12 */
13
14
15public class A : IA
16{
17 private int i0;
18
19 public A()
20 {
21 i0 = 0;
22 }
23
24 public int I0
25 {
26 get
27 {
28 return i0;
29 }
30
31 set
32 {
33 i0 = value;
34 }
35 }
36
37 public void MA1(int i)
38 {
39 i0 = 2*i;
40 }
41
42 public int MA2()
43 {
44 return i0;
45 }
46}