Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

design a banking system use java you must have at least one parent class and at least three child/grandchild classes (15 points) each class must

design a banking system use java

  • you must have at least one parent class and at least three child/grandchild classes (15 points)
    • each class must contain (either directly OR inherited from a parent):
      • instance data variables (10 points)
      • constructor(s) (15 points)
      • getters and setters (10 points)
      • overridden toString method (10 points)
      • overridden equals method (15 points)
  • your classes must have a total of at least three class-specific methods (you can have just simple printlns as the method implementation for now) (10 points)
    • these methods must represent functionality of objects- some action or behavior that the object takes or that is taken on the object
    • the getters/setters do not count!
    • these methods must be instance methods- this means they cannot be static
  • write a driver program to demonstrate your classes (15 points)
    • create an array or ArrayList using the parent class as the declared type
    • fill with several different child objects
    • invoke at least two methods on the objects (if the method exists only in the child class, use instanceof and a downcast)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

Networking is a two-way street. Discuss this statement.

Answered: 1 week ago