In the programming language Java...in need of help. Also, if it's not too much, please provide in-line
Question:
In the programming language Java...in need of help. Also, if it's not too much, please provide in-line comments within the code for part 1. And give more code for part 1. PLEASE DO NOT INCORPORATE THE SQL DATABASE INTO THE JAVA ANSWER. I have provided the CREATIONAL PATTERNS THAT NEEDED TO ANSWER THE QUESTION. PLEASE READ THE QUESTIONS THOROUGHLY BEFORE ANSWERING. I also added what the end result should look like when running the application.
This is the question below:
You want your bank application to be generic enough and be able to satisfy the needs of all the banks with as few changes as possible. Consider the creational patterns for this assignment. For each problem below, identify the patterns, show the class structure when the pattern is applied, and provide justification. Write the Java implementation for the classes and give the test results.
- Part 1 - Using the Abstract Factory Pattern:
- The application should cater to a family of banks, each offering the services described in the previous assignments, i.e., each bank has its version of checking, savings, and CD accounts. You can assume that currently, you have two banks (e.g., Bank of America and Chase) offering their versions of the above accounts, and your application is likely to expand to more banks.
This is how the ending result should look like below:
Sample Output:
--Testing Basic version of Accounts-
Creating Checking Account
**Basic Checking Account**
Creating Savings Account
**Basic Savings Account**
--Testing Bank of America version of Accounts-
Creating Checking Account
**Basic Checking Account**:: BankOfAmerica Checking Account
Creating Savings Account
**Basic Savings Account**::BankOfAmerica Savings Account
--Testing Chase version of Accounts-
Creating Checking Account
**Basic Checking Account**::Chase Checking Account
Creating Savings Account
**Basic Savings Account**::Chase Savings Account
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill