This Study Resource Was: Bank Management System UML Diagram

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Bank Management System

UML Diagram

m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th

Create a Person class with the following attributes


● Name
● CNIC
● Address
sh

Create all getters and setters for these attributes.


Create Default, parameterized, copy constructor and destructor.
Create a Display function to print all the attributes.
When copying a pointer create a deep copy not a shallow copy.
Create an Account class with the following attributes

This study source was downloaded by 100000829261546 from CourseHero.com on 09-18-2021 14:18:07 GMT -05:00

https://www.coursehero.com/file/52783899/Bank-Management-Systemdocx/
● AccountNumber
● AccountType // ie Credit or Debit
● Balance
Create all getters and setters for these attributes.
Create Default, parameterized, copy constructor and destructor.
Overload the following Operators
● + Operator for depositing amount to the account
● - Operator for Withdrawing amount to the account

Create a Client class and inherit it with the Person class with the following attributes
● Employment // current Employment title
● ClientAccount // Create an Account object

Create all getters and setters for these attributes.

m
Create Default, parameterized, copy constructor and destructor. // call the base class

er as
constructors and destructors

co
When copying a pointer create a deep copy not a shallow copy.

eH w
Create a Display function to print all the attributes. // Call the parent class display function as

o.
well.
rs e
Create a function that updates all the values in the client's current account.
ou urc
Create a Deposit and Withdraw function that takes a value as a parameter and call the
appropriate operators for the account.
o

Create a Manager class and inherit it with the Person class with the following attributes
aC s

● Instance // static pointer of Manager class


vi y re

● ClientArray // static double pointer of Client class


● TotalClients // static int type variable
ed d

Create Default, parameterized, copy constructor and destructor. // call the base class
ar stu

constructors and destructors


When copying a pointer create a deep copy not a shallow copy.
Create a Display function to print all the attributes. // Call the parent class display function as
well.
is

Create an AddClient Function that take a client pointer and save it in the ClientArray by
Th

autogrowing it.
Create a RemoveClient Function that take a client pointer and remove it from the ClientArray.
Create a DisplayAllClients Function that prints all the clients the manager is dealing.
sh

This study source was downloaded by 100000829261546 from CourseHero.com on 09-18-2021 14:18:07 GMT -05:00

https://www.coursehero.com/file/52783899/Bank-Management-Systemdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like