+ 1

Help me Abstraction please

How create on abstract auto class with field for the car name and price. Then include get and set methods these feilds. And tha setprice() method is abstract. Ans create two subclasses for individual automobile makers(for example,Ford and Jeep) and include oppropriate setprice() metods in each subclass.

6th Feb 2017, 10:23 PM
shamal salam abdulrahman
shamal salam abdulrahman - avatar
2 Réponses
+ 1
Thank you very much
7th Feb 2017, 12:12 AM
shamal salam abdulrahman
shamal salam abdulrahman - avatar