public void visit(RealEstate realEstate)
 {
     total += realEstate.getEstimatedValue();
 }
示例#2
0
 public void Visit(RealEstate realEstate)
 {
     Amount += realEstate.MonthlyRent;
 }
 public void visit(RealEstate realEstate)
 {
     amount += realEstate.getMonthlyRent();
 }
示例#4
0
 public void Visit(RealEstate realEstate)
 {
     Total += realEstate.EstimatedValue;
 }