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: $ per month for minutes, each extra minute $ per minute.Package B: $ per month for minutes, each extra minute $ per minute.Package C: $ 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 mutatorsProvide the correct Get methods accessorsProvide a method to determine the amount of the bill.Do not create a constructor for this Class. Requirements Main Driver Class Creates instances of the above class two different customers Do not initialize the objects with any data since there is no constructorDisplay 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 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
