Example #1
0
 // constructor
 public Times(Exp exp1, Exp exp2)
 {
     Exp1 = exp1;
     Exp2 = exp2;
 }
Example #2
0
 // constructor
 public Plus(Exp exp1, Exp exp2)
 {
     Exp1 = exp1;
     Exp2 = exp2;
 }