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