|Get Selected Weeks Solution with ONLY||NOT||Add Selected Tutorials To Cart|
Inheritance and Polymorphism
public void print();
The Phone class should also have a constructor having the following signature:
public Phone(String title, int whitePages, int yellowPages);
This constructor should sum up whitePages + yellowPages to get the total number of pages in the book. Remember the total pages in the book and the title of the book are set in the constructor for the Book class.
Modify the PolyMain class to create at least one of your phone books and store it in the library. You should now be able to print the library without having to modify the print method defined within the PolyMain class.
Solution for ITS320 Assignment #5
Using java language
it is 100% correct solution !!!
If you have more questions, please contact me via email firstname.lastname@example.org
I will help you any time