Class exercise Create a class, and objects for the following exercise 1- For Car Car - make - yearModel + setMake() + setYearModel() + getMake() + getYearModel() 2- For cellphone CellPhone - manufact:...



*I want to solve this question in Java


Thank you *



create a class , and objects for the following exercise


Class exercise<br>Create a class, and objects for the following exercise<br>1- For Car<br>Car<br>- make<br>- yearModel<br>+ setMake()<br>+ setYearModel()<br>+ getMake()<br>+ getYearModel()<br>2- For cellphone<br>CellPhone<br>- manufact: String<br>- model : String<br>- retailPrice : double<br>+ setManufact(man : String): void<br>+ setModel(mod: String): void<br>+ setRetailPrice(price: double) : void<br>+ getManufact(): String<br>+ getModel() : String<br>+ getRetailPrice(() : double<br>

Extracted text: Class exercise Create a class, and objects for the following exercise 1- For Car Car - make - yearModel + setMake() + setYearModel() + getMake() + getYearModel() 2- For cellphone CellPhone - manufact: String - model : String - retailPrice : double + setManufact(man : String): void + setModel(mod: String): void + setRetailPrice(price: double) : void + getManufact(): String + getModel() : String + getRetailPrice(() : double

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here