Yurttas/PL/OOL/Java/F/02/05/00/A.java
Jump to navigation
Jump to search
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 A {
16
17 private 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(final int i) {
32 ia.m(i);
33 }
34
35 public int m2() {
36 return i0;
37 }
38
39}