Yurttas/PL/OOL/Java/F/02/07/00/G/sy/G.java

From ZCubes Wiki
Jump to navigation Jump to search
 1/**
 2 *  Copyright(C) 2004
 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   : May 1, 2004.
11 *  @author : Salih Yurttas, Greg Tang
12 */
13
14
15package sy;
16
17public class G {
18
19  private int g = 2;
20
21  public void mg() {
22    System.out.println();
23    System.out.println("sy.G.mg()");
24    System.out.println("sy.G.g = " + g);
25  }
26
27}