Yurttas/PL/OOL/Java/F/02/01/06/A00.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 A00 {
16
17 public static void main(String[] args) {
18
19 A a0 = new A();
20
21 System.out.println("i0 = " +
22 a0.i0);
23 System.out.println("i1 = " +
24 a0.geti1());
25 System.out.println("i2 = " +
26 a0.geti2());
27
28 System.out.println();
29
30 a0.outi012();
31
32 System.out.println();
33
34 a0.i0 = 3;
35 a0.seti12(7);
36
37 int[] ia = new int[3];
38 ia = a0.geti012();
39
40 int n = ia.length;
41 for(int i=0; i<n; i++)
42 System.out.println("i" +
43 i +
44 " = " +
45 ia[i]);
46
47 }
48
49}