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 : September 1, 2004.
11 * authorĀ : Salih Yurttas.
12 */
13
14
15public class TA00 {
16
17 public static void main(String[] args) {
18 TA<Integer,
19 Integer> o1 = new TA<Integer,
20 Integer>(2,
21 2);
22
23 System.out.println(o1.getA0());
24 System.out.println(o1.getA1());
25
26 o1.setA0(4);
27 o1.setA1(7);
28
29 System.out.println(o1.getA0());
30 System.out.println(o1.getA1());
31
32 TA<Integer,
33 Integer> o2 = new TA<Integer,
34 Integer>(3,
35 1);
36
37 System.out.println(o2.getA0());
38 System.out.println(o2.getA1());
39 }
40
41}