60 734
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #11624 in AJAX | JavaScript | HTML | PHP for sam

Question #11624
Create a new project in BlueJ called Assignment1. All classes for the assignment are to be saved in this project.

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).

Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions