Assume class Phone has following private properties : a) Model-the model of phone b) Brand-the brand of phone c) Year-ma
Posted: Tue Jul 12, 2022 8:28 am
Assume class Phone has following private properties : a) Model-the model of phone b) Brand-the brand of phone c) Year-manufactured year d) Price - price of the phone You are required to write constructors to implement constructor overloading as follow : - First constructor - accepts values as arguments and assigns them to the appropriate properties: phone model, phone brand, manufactured year and price. - Second constructor - accepts values as arguments and assigns them to the appropriate properties: phone model and phone brand. Assign value zero to property price.