
Declare an Interface called property containting a method compute price to compute &return the price.The inerface is to be implemented by follwaing two class (1)Bungalow&(2)Flat both the lasses have following data member Name Construction Area The class bungalow has an addtional data member called landArea.define compute price for both classes for computing total price use following rules for computing total price by summing up subcasts: construction cost(for both classes):Rs500/-per sq.feet Addtional cost(for flat):Rs200000/- (for bungalow): Rs200/-per sq.feet for land Area. land cost(only for bungalow):Rs 400/-per sq.feet
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.