Answer to Question #11628 in Java | JSP | JSF for sam
2. Create the required classes for the project - there should be at least three (3) classes: User, Phone and Battery. You can have any number of additional classes you think are required.
3. Class basics:
User – a user owns 1 phone, they also have a name and an amount per month they pay for their phone
Phone – a phone has a brand, a model and 1 battery. It must also store information about the phone such as whether the phone is on, if it is locked, last dialled number etc (see below)
Battery – a battery has a life i.e. the charge left in the battery and a maximum life (see below)
4. Constructors: all classes must have at least 1 alternate constructor that accepts input parameters used to initialise the class attributes (done in the body of the constructor).
Submit it with all requirements as an assignment to our control panel and we'll assist you.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!