Yurttas/PL/OOL/CS/F/06/00/01/DA.cs

 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 DA
16{
17
18  private double a0;
19  private double a1;
20
21  public DA(double v)
22  {
23    this.a0 = v;
24    this.a1 = v;
25  }
26
27  public DA(double v0,
28            double v1)
29  {
30    this.a0 = v0;
31    this.a1 = v1;
32  }
33
34  public double A0
35  {
36    get
37    {
38      return a0;
39    }
40    set
41    {
42      a0 = value;
43    }
44  }
45
46  public double A1
47  {
48    get
49    {
50      return a1;
51    }
52    set
53    {
54      a1 = value;
55    }
56  }
57
58}