Question: Provide A UML diagram for each class below. You can draw it in an application such as lucid chart, MS Word or PowerPoint or draw

Provide A UML diagram for each class below. You can draw it in an application
such as lucid chart, MS Word or PowerPoint or draw it on paper and scan and
attach the file. 1- Implement the Customer Class
Attributes: Define private attributes for name and emailAddress.
Constructor: Create a constructor that initializes the attributes.
Accessor Methods: Implement getName and getEmailAddress methods.
Mutator Methods: Implement setName and setEmailAddress methods. toString Method: Override the toString method to return a formatted string, display
customer name and email address.
Display Method: Add a method customerDisplay to display customer details in a
tabular format.(please see sample run)2- Implement the BankEmployee Class
Attributes: Define private attributes for name and employeeId.
Constructor: Create a constructor that initializes the attributes.
Accessor Methods: Implement getName and getEmployeeId methods.
Mutator Methods: Implement setName and setEmployeeId methods.
toString Method: Override the toString method to return a formatted string, display
employee name and employeeID
Display Method: Add a method employeeDisplay to display employee details in a
tabular format. (please see sample run) Implement the BankAccount Class
Attributes: Define private attributes for savingAccount and checkingAccount.
Constructor: Create a constructor that initializes the attributes.
Accessor Methods: Implement getSavingAccount and getCheckingAccount
methods.
Mutator Methods: Implement setSavingAccount and setCheckingAccount
methods. Calculate Method: Add a method getTotalBalance to calculate the total balance,
adding saving and checking accounts.
toString Method: Override the toString method to return a formatted string, display
saving, checking and total balance.
Display Method: Add a method AccountDisplay to display account details in a
tabular format.(please see sample run)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!