Yurttas/PL/OOL/CS/F/03/04/02/A.cs
Jump to navigation
Jump to search
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 {
16
17 private static int i0;
18
19 public class IA {
20 public void M(final int i) {
21 i0 = i;
22 }
23 }
24
25 public A() {
26 i0 = 0;
27 }
28
29 public IA ia = new IA();
30
31 public void M1(int i) {
32 ia.M(i);
33 }
34
35 public int M2() {
36 return i0;
37 }
38
39}