Create a new project
Add a class Car to it. The Car class should contain the following private fields: _make, _model, _mileage, _year, _price
Add necessary constructor and properties
Add a method LowerPriceBy(amount), which takes the amount and subract it from the current price to get the new price.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here