Question: Question 6 Write your own design and code Your supervisor asked you to review the Bank system containing the class CustomerAccount with the following requirement:

 Question 6 Write your own design and code Your supervisor asked

Question 6 Write your own design and code Your supervisor asked you to review the Bank system containing the class CustomerAccount with the following requirement: - One integer data member accNum with private access modifier - One double data member balance with private access modifier - One constant named HIGH_CREDIT_LIMIT =80000.00 To enhance the module, your team needs to include the robustness element in this module such as: a. Write a user-defined exception, HighBalanceException that extends Exception. Its constructor contains a single statement that passes a description of an error to the parent Exception constructor. This String would be retrieved if you called the getMessage() method with a HighBalanceException object. 5m b. Create a method named customerAccount (int num, double bal) that will throw HighBalanceException if user balance exceeds than the high credit limit. 10m Based on the requirement above, you need to 1. Design your forms 2. Write your code

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!