Yurttas/PL/OOL/Java/F/02/04/01/00/TA02.java
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 : September 1, 2004.
11 * author : Salih Yurttas.
12 */
13
14
15public class TA02 {
16
17 public static void main(String[] args) {
18 TA<Integer> o1 = new TA<Integer>(2);
19
20 TT<Integer> tI = new TT<Integer>();
21
22 tI.tA(o1,
23 4);
24
25 System.out.println();
26
27 TA<Double> o2 = new TA<Double>(2.0);
28
29 TT<Double> tD = new TT<Double>();
30
31 tD.tA(o2,
32 4.0);
33 }
34
35}