Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design an application in an object-oriented language of your choice. The program must demonstrate your mastery of classes, inheritance and IS-A relationships. The program should

Design an application in an object-oriented language of your choice. The program must demonstrate your mastery of classes, inheritance and IS-A relationships. The program should be robust and non- trivial solution (see below for definition of non-trivial). The object-oriented design of the program is required to use polymorphic inheritance in the design. The topic of the design if for you to decide. It can be anything that interests you. Think of this assignment as creating an inventory management system for some collection of data. 

The application requirements: 

1) It must be Menu driven that allows for the following operations 

a. The ability to create members objects of your object-oriented design 

  i. Remember: all objects have Properties, Events and Methods 

b. The ability to create children objects that extend your object-oriented design

  i. Remember: all objects have Properties, Events and Methods 

c. The ability to remove a member or a child from the application 

d. The ability to print the objects that have been created 

e. The use of a structure (i.e. Linked List, ArrayList, Binary Search Tree) that holds all instances of the objects created (Hint: This is a great place to show polymorphism) 

f. The ability to search for an item in the structure to see if it exists. (Make sure you search for different types of data when showing this step)

  i. If the item exists then its information should be displayed

  ii. If the item does not exist then an error message should be displayed if the item is not found 

g.  A way to print the objects within your application to a text file 

  i. You can specify the format of the text file, this will be based on your object- oriented design 

h. A way to read from a text file and populate objects within your program (This can be used for testing your application)

  i. A way to exit your program 

2) It must show inheritance of objects 

3) It must show polymorphisms of objects 

4) It must demonstrate an IS-A relationship 

5) The program should be robust and not trivial in nature. (i.e. more than 4 classes of objects)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

an inventory management system for a library using Python class Item def initself title creator selftitle title selfcreator creator def displayinfosel... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Business Law and Its Environment

Authors: Richard Schaffer, Filiberto Agusti, Lucien J. Dhooge

9th edition

1285427041, 978-1285427041

More Books

Students also viewed these Operating System questions