Mis 3330 project using intellij idea

Semester Project

Concept Summary:

1. Object Oriented programming concepts
2. Abstract classes
3. Polymorphism
4. Collections

Objective:

you will need to create three classes and a driver program. The first class, the parent, should be
an abstract class called Item. The other two classes, the children, should inherit from the parent
class and be called Book and Periodicals. Finally, create a test class called myCollection.

Item abstract class

Create an abstract class called Item. It must have:

● title – A private attribute of type string.
● A getter/setter for title
● A constructor that takes no arguments and sets title to empty string ● A constructor which

takes a title and sets the title attribute.
● getListing() is an abstract method that returns a string and is implemented in classes

Book and Periodicals.
● An override of toString/ToString which returns the title.

Book child class
Create a Book class which inherits from Item. It must have:

● isbn_number – A private attribute which holds an ISBN number (13 digits) to identify the
book

● author – A private attribute which holds the authors name (string) ● getters/setters for the
attributes in this class.

● A constructor which takes no arguments
● An overloaded constructor which sets all the attributes in the Book class as well as the

Item class.

● A concrete version of the getListing() method which should return a string that contains
the following:

Book Name – Title
Author – Author

ISBN # – ISBN number

Periodical child class
Create a Periodical class which inherits from Item. It must have:

● issueNum – A private attribute which holds the issue number (e.g. 103)
● getter/setter for issueNum
● A constructor which takes no arguments
● An overloaded constructor which sets all the attributes in the Periodical class as well as

the Item class.
● A concrete version of the getListing() method which should return a string that contains

the following:
Periodical Title – Title Issue
# – Issue number

myCollection Driver Program
Write the driver program which will prompt the user exactly 5 times to add Books and
Periodicals to an array (***BONUS POINTS FOR USAGE OF COLLECTION IN PLACE OF
ARRAYS***)

The array should be of type Item since it can hold either Books or Periodicals. This is
polymorphism!

Ask the user to “Please enter B for Book or P for Periodical”

If they choose Book, prompt for Title, Author and ISBN number. Store the results in the next
cell of the array.

If they choose Periodical, prompt for Title and IssueNumber. Store the result in the next cell
of the array.

Once the user has entered 5 items which could be any combination of Books and
Periodicals, show the user their collection.

See sample output below.

Sample Output:

Please enter B for Book or P for Periodical
B
Please enter the name of the Book
Lord of the Rings
Please enter the author of the Book
Tolkien
Please enter the ISBN of the Book
34
Please enter B for Book or P for Periodical
P
Please enter the name of Periodical
Times
Please enter the issue number
1234
Please enter B for Book or P for Periodical
B
Please enter the name of the Book
War and Peace
Please enter the author of the Book
Tolstoy
Please enter the ISBN of the Book
4567
Please enter B for Book or P for Periodical
B
Please enter the name of the Book
Alice in Wonderland
Please enter the author of the Book
Lewis Carroll
Please enter the ISBN of the Book
7890
Please enter B for Book or P for Periodical
P
Please enter the name of Periodical
New Yorker

Please enter the issue number
45

Your Items:
Book Name – Lord of the Rings
Author – Tolkien
ISBN# – 34

Periodical Title – Times
Issue # – 1234

Book Name – War and Peace
Author – Tolstoy
ISBN# – 4567

Book Name – Alice in Wonderland
Author – Lewis Carroll
ISBN# – 7890

Periodical Title – New Yorker
Issue # – 45

Submission Guidelines:
You will zip and submit the intellij idea project folders similar to previous assignments

Calculate the price of your order

Choose an academic level, add pages, and the paper type you want.
To reduce the cost of our essay writing services, select the lengthier deadline.
We can't believe we just said that to you.

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Why is Purdue Papers the Most Helpful Essay Writing Service for You?

  1. Custom-written and plagiarism-free papers: Our authors create their work from scratch. Before presenting them to clients, we routinely verify them for signs of plagiarism. Our quality assurance group also double-checks and fixes any grammatical errors, assuring that all of our authors adhere to the same standards of writing.
  2. The significance of timely delivery cannot be overstated, and we consistently strive to meet or exceed our clients' deadlines. Regardless of the short time frame, you can count on our writers to get the job done. We always have a team of writers ready to go, even if the deadline is only six hours away.
  3. Customer Satisfaction: Our customer service representatives are the best in the business and have a wealth of knowledge in dealing with clients. All our customer service representatives are trained to listen and reply promptly until you are satisfied with their service. To ensure you're happy, our expert writers will strictly follow the criteria to generate a special report. Our customer service may be contacted by chat, email, or phone. In addition, we provide round-the-clock assistance to all of our clients.
  4. Confidentiality: Our systems are safe, and your information is always protected. We're constantly looking for new facts when it comes to finishing your work. We use a safe and secure payment channel. Since our ordering process is completely anonymous, you don't have to provide any credit card information to place a purchase with us.
  5. Highly Trained Authors: Our writers have received extensive training and are committed to delivering only the best papers. They are fluent in APA, MLA, HARVARD, IEEE, CHICAGO, and AMA referencing styles. To meet your expectations, our skilled writers always pay close attention to your instructions.
  6. Lowered prices: We have set prices that are already discounted. Our prices are the best and affordable for all our esteemed customers.

Let Professionals Take Care of your Academic Paper