Question: Please Solve this coding problem for me, answer justing Java Create a class called bank. This class has variables such as - Customer name -
Create a class called bank. This class has variables such as - Customer name - Customer account number - Customer's type of account - Type of transaction (Withdrawl/ Deposit / Transfer) - Account balance Using Scanner class get the user input for the variables mentioned above. Whenever an amount greater than a specific amount (for example: 10000 USD is the maximum limit for deposit during each transaction) is deposited, an ArithmeticException is thrown. Whenever an incorrect input is entered, an input MismatchException is thrown Whenever the balance amount is less than a minimum balance amount (for example: 20 USD is the minimum account balance), an ArithmeticException is thrown. Show exception handling in your program using any one of the three ways given below: * Use try-catch blocks to handle exception in your program *Use try catch throw statements to handle exception in your program * Use try catch-throw-throws statements to handle exception in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
