Hello everyone, I've been working on the program for some time now and i am a bit stuck here unfortunately. My problem is coming from the
test class, I simply do not know how to set it up to output the proper information. So first I have to create a Date class, then a Phone class which is the parent of the CellPhone class and LandLinePhone class. I then have to create a test class called PhoneTest. Everything has been completed except for the PhoneTest class which is the one that outputs everything. The PhoneTest I do not know how to properly set it up to output the information that the attached UML and Instructions want me to do. Thanks for looking at my issue, hopefully someone can point me in the correct direction.
First I need to develop the classes according to the UML Provide (ill attach a picture of the UML for a visual representation)
in the PhoneTest class the main method creates the two dimensional
string array, calls createPhones, calculates the monthly charge, and calls printBill
The Method printBill prints the information for each instance to the system prompt.
(along with the UML attachment I will also attach the instruction page of the program for better understanding of what I need to do.
--Here are my current programs--