Discount Get ITS 320 ALL WEEKS Solution ONLY $69.70 $92.93
ITS 320 Assignment 1 NEW - This simple exercise is meant to verif... [$8.99]
ITS 320 Assignment 2 NEW - Enter the code for the two classes &qu... [$10.99]
ITS 320 Assignment 3 NEW - Write a Java application that prompts ... [$11.99]
ITS 320 Assignment 4 NEW - Write a program to assign the integer ... [$14.99]
ITS 320 Assignment 5 NEW - Key in the PolyMain, Book, Almanac, an... [$14.99]
ITS 320 Assignment 6 NEW - Create three exception classes named N... [$14.99]
ITS 320 Assignment 7 NEW - Create a class called BankAccount. Th... [$15.99]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
ITS320 ITS 320 ITS/320 - Java Program #5 - NEW VERSION - Key in the PolyMain, Book, Almanac, and Novel classes defined in this module of the course
    ITS320 ITS 320 ITS/320 - Java Program #5 - NEW VERSION - Key in the PolyMain, Book, Almanac, and Novel classes defined in this module of the course

ITS320 ITS 320 ITS/320 - Java Program #5 - NEW VERSION - Key in the PolyMain, Book, Almanac, and Novel classes defined in this module of the course

$14.99

Inheritance and Polymorphism

  1. Key in the PolyMain, Book, Almanac, and Novel classes defined in this module of the course.  Once you get each of these classes keyed in, make sure they compile and execute properly.  Then create a third subclass called Phone that also extends the Book class.  The Phone class should keep track of the number of yellow pages and the number of white pages in each phone book.  Make sure the Phone subclass you create has a print method having the same signature as the print method in the Book class.  The print method from the Phone class should print the title of the book, followed by the number of yellow pages and white pages contained within the phone book.  Thus, the print method should have the following signature:

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 support@extutorials.com

I will help you any time

Thank you

Attached Files

Move over [ preview ] file name to preview content in it!

  • Java program #5.zip [599.7KB]
    • Document.doc [390.1KB] [ preview ]
    • ITS320-Program-5-ScreenShot.jpg [206.5KB]
    • souce code
      • Almanac.java [0.5KB] [ preview ]
      • Book.java [0.5KB] [ preview ]
      • Novel.java [0.2KB] [ preview ]
      • Phone.java [1KB] [ preview ]
      • PolyMain.java [0.5KB] [ preview ]

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B