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 : January 1, 2004.
11 * @authorĀ : Salih Yurttas.
12 */
13
14
15public class D extends B
16 implements C {
17
18 private int i1,
19 i2,
20 i3;
21
22 public D() {
23 i1 = 0;
24 i2 = 0;
25 i3 = 0;
26 }
27
28 public D(final int i) {
29 i1 = i;
30 i2 = i;
31 i3 = i;
32 }
33
34 public D(final int i,
35 final int j,
36 final int k) {
37 i1 = i;
38 i2 = j;
39 i3 = k;
40 }
41
42 public int getI1() {
43 return i1;
44 }
45
46 public int getI2() {
47 return i2;
48 }
49
50 public int getI3() {
51 return i3;
52 }
53
54 public void setI1(final int i) {
55 i1 = i;
56 }
57
58 public void setI2(final int i) {
59 i2 = i;
60 }
61
62 public void setI3(final int i) {
63 i3 = i;
64 }
65
66 public void printAll() {
67 System.out.println("i1 = " + i1);
68 System.out.println("i2 = " + i2);
69 System.out.println("i3 = " + i3);
70 }
71
72}