Professional Documents
Culture Documents
This Study Resource Was: Bank Management System UML Diagram
This Study Resource Was: Bank Management System UML Diagram
This Study Resource Was: Bank Management System UML Diagram
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
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
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
Create Default, parameterized, copy constructor and destructor. // call the base class
ar stu
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)