Question: In java you will be creating a class that maintains data for a mobile phone service. The phone service has the following package options: Package

In java you will be creating a class that maintains data for a mobile phone service. The phone service has the following package options: Package A: $39.99 per month for 450 minutes, each extra minute $0.45 per minute.Package B: $59.99 per month for 900 minutes, each extra minute $0.40 per minute.Package C: $69.99 per month for unlimited minutes. Internally the program will keep track of the cost of each package, which package the customer currently has and the number of minutes used. It will then use that information to calculate the bill for that month. Requirements Mobile Service Provider Class Store the price for each plan and the number of minutes for each plan. This will be done as instance data using constants within this Class.Within the Class, store the particular plan the customer has and the number of minutes used by the customer.Provide the correct Set methods (mutators).Provide the correct Get methods (accessors).Provide a method to determine the amount of the bill.Do not create a constructor for this Class. Requirements Main Driver Class Creates 2 instances of the above class (two different customers). Do not initialize the objects with any data (since there is no constructor).Display a menu with package options.Prompt the user to select a package.Prompt the user for the number of minutes used.Provide the information inputted by the user to the instance of the above class.Repeat the Steps 2-5 for the second customer.Display the bill information for both customers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!