public Travel() { PNo = 0; PName = "Travel Insurance"; PTC = "This insurance covers only one traveller and is not refunadable"; PremimumType = "One Time Payment"; PremiumPrice = 57.90; payOutMethod = new Maturity(); }
public Car() { PNo = 0; PName = "Car Insurance"; PTC = "This insurance covers only one car and in not refunadable"; PremimumType = "Periodic Payment: Yearly"; PremiumPrice = 1470; payOutMethod = new Maturity(); }