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