Question
Scenario: Samediff bank has a 25-year old banking account system. It was created using procedural programming. Samediff bank needs to improve the security and maintainability
Scenario: Samediff bank has a 25-year old banking account system. It was created using procedural programming. Samediff bank needs to improve the security and maintainability of the system using object-oriented programming (OOP) approach. Their bank manager has decided to hire you to develop, implement, and test a new OOP application using efficient data structures and programming techniques.
1. What are appropriate primitive data types needed for a bank account system? List them.
2. When using a class for the scenario provided, will there be any static member variables? If yes, explain reasons to support your idea.
3. What kind of constructors would you need? List them.
4. According to an account system, customers can have more than one type of account.
a. How many classes should you design?
b. Write the purpose of each class.
c. What is the class relationship has a relationship (composition) , is a relationship (inheritance) or both?
d. Jot down ideas what each class looks like. Then draw UML diagrams for all classes using correct symbols and class relationship.
(Jot down ideas about functions needed for each of the classes. Modify the UML diagrams.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started