Difference between revisions of "Yurttas/PL/OOL/CS/F/03/04/01/A.cs"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="csharp" line start="1" enclose="div">/** * Copyright(C) 2003 * All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc.. * * ...")
 
(No difference)

Latest revision as of 07:53, 7 November 2013

 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}