Question: JAVA HELP! Objective: For this assignment you will demonstrate that you can properly define an inheritance relationship between classes as well as demonstrate polymorphic behavior
JAVA HELP!


Objective: For this assignment you will demonstrate that you can properly define an inheritance relationship between classes as well as demonstrate polymorphic behavior by join them together into a single functioning program using an ArrayList as a data structure for all instantiated objects of your external classes. Description: Properly using the various construction techniques is crucial to being able to create useful code. For this assignment you will decompose the information necessary to create a customer listing program using at least 3 external classes. These classes will interoperate using the concepts of inheritance, abstraction and polymorphism. Your external classes must provide a method that describes itself polymorphically that will be used by your driver class to create the program's output. Assignment: Create a command-line Java class that performs the following Your program must be properly decomposed into several classes (I ended up with 4 including the driver class, but you could use more) o . These classes must be properly n .These classes must be properly encapsulated * These classes must provide an appropriate constructor amed These classes must be instantiated by passing all appropriate information via the constructor . The required information is: . .2 types of customers: corporate & retail These customer classes must be defined using an inheritance hierarchy All customers have the following items: o o Customer number "Phone number Address * Must be decomposed into appropriate atomic elements o Corporate customers have the following additional items: Company name Contact's name * * Must be decomposed into appropriate o Retail customers have the following additional items * Must be decomposed into appropriate atomic elements Nane atomic elements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
