I would like for to display index.html its on slide 7 the work? ...
90.2K
Verified Solution
Question
Accounting
I would like for to display index.html its on slide 7 the work?
Bank Account Model 3 A bank account is a financial account maintained by a bank for a customer. Constructor Specification You may only have one constructor with the signature specified and ALL data fields must be initialized by the constructor. Data fields not defined in the constructor parameter list are specified in the following manner: BankAccount -account Number: String -savings Balance: double -lastName: String -minSavingBalance: double -firstName: String -maxSavingWithdrawal: double -taxIDNumber: String -savingsinterestRate: double -checking Balance: double -static AccountCount = 0; int -minChecking Balance: double -maxChecking Withdrawal: double +BankAccount(lastName: String, firstName: String, taxIDNumber: String, checking Balance: double, savingsBalance: double, savingsinterestRate: double) + display AccountInfo()... void + depositToChecking(double d....boolean + depositToSavings(double d)...boolean + withdrawFromChecking(double d)...boolean + withdrawFromSavings(double d)...boolean account Number = 'A-00' + AccountCount (starts at 1) minChecking Balance = 25% of checking Balance maxChecking Withdrawal = 40% of checking Balance minSaving Balance = 55% of savingsBalance maxSaving Withdrawal = 20% of savingsBalance The constructor displays 'Account (Account Number] HAS BEEN CREATED to the console when the object is created and increments the Account Count by 1 A Bank Account object cannot be fully initialized unless the checkingBalance is greater than $1000.00 and the savingsBalance is greater than $500.00...if the object cannot be fully initialized all balances and allowances are set to 0. Bank Account Model 4 A bank account is a financial account maintained by a bank for a customer and has the following behavior. BankAccount (Method Specifications) depositToChecking(double d)...boolean Adds d to the checking Balance and displays 'S[d] deposited to Checking'...returns true depositToSavings(double d)...boolean Adds d to the savings Balance and displays 'S[d] deposited to Savings'...returns true withdrawFromChecking(double d)...boolean Subtract d from the checking Balance after checking to ensure the amount of d is available and that the remaining checkingBalance is greater than the minChecking Balance and displays '$[d] withdrawn from Checking' returns true... if either condition is not me then display message 'Withdraw cannot be made' and returns false withdrawFromSavings(double d)...boolean Subtract d from the savings Balance after checking to ensure the amount of d is available and that the remaining savings Balance is greater than the minSaving Balance and displays 'S[d] withdrawn from Savings' return true... if either condition is not met then display message 'Withdraw cannot be made' and returns false Account Servlet 5 HttpServlet Account protected void doGet(HttpServletRequest request, HttpServletResponse response) The doGet method creates the specified BankAccount objects (Slide 6) and displays their information as shown on Slide 7. Object Creation 6 Create the following BankAccount objects within the Account servlet. Account Reference (Identifier) Last Name First Name Tax IDNumber 123456 Savings Balance 3400.00 Checking Balance 2390.00 5360.00 B1 Johnson Bobby Richard Savings Interest Rate 2% 2.5% 2.1% B2 654888 Thomas Turner 5400.00 5400.00 B3 James 622898 360.00 Object Creation Create the following BankAccount objects within the Account servlet. Last Name First Name Account Reference (Identifier) B1 Johnson Thomas Turner Tax IDNumber 123456 654888 622898 Bobby Richard James Checking Balance 2390.00 5360.00 Savings Balance 3400.00 5400.00 5400.00 B2 Savings Interest Rate 2% 2.5% 2.1% B3 360.00 Application Webpage Output 7 Bank Account Application Search. http://localhost:8080/Loco BANK ACCOUNT Bank Account Information Utilizing servlets and basic HTML create your index.html to display like this Bobby Johnson . ACCOUNT: A-001 Display Accounts TAX ID: 123456 . CHECKING: Get Account S2390.00 $3400.00 SAVINGS - Richard Thomas . ACCOUNT: A-002 TAX ID: 654888 - CHECKING: S5360.00 . SAVINGS: $5400.00 James Turner . ACCOUNT A-003 . TAXID 622898 . CHECKING: S.00 SAVINGS: $.00 Bank Account Model 3 A bank account is a financial account maintained by a bank for a customer. Constructor Specification You may only have one constructor with the signature specified and ALL data fields must be initialized by the constructor. Data fields not defined in the constructor parameter list are specified in the following manner: BankAccount -account Number: String -savings Balance: double -lastName: String -minSavingBalance: double -firstName: String -maxSavingWithdrawal: double -taxIDNumber: String -savingsinterestRate: double -checking Balance: double -static AccountCount = 0; int -minChecking Balance: double -maxChecking Withdrawal: double +BankAccount(lastName: String, firstName: String, taxIDNumber: String, checking Balance: double, savingsBalance: double, savingsinterestRate: double) + display AccountInfo()... void + depositToChecking(double d....boolean + depositToSavings(double d)...boolean + withdrawFromChecking(double d)...boolean + withdrawFromSavings(double d)...boolean account Number = 'A-00' + AccountCount (starts at 1) minChecking Balance = 25% of checking Balance maxChecking Withdrawal = 40% of checking Balance minSaving Balance = 55% of savingsBalance maxSaving Withdrawal = 20% of savingsBalance The constructor displays 'Account (Account Number] HAS BEEN CREATED to the console when the object is created and increments the Account Count by 1 A Bank Account object cannot be fully initialized unless the checkingBalance is greater than $1000.00 and the savingsBalance is greater than $500.00...if the object cannot be fully initialized all balances and allowances are set to 0. Bank Account Model 4 A bank account is a financial account maintained by a bank for a customer and has the following behavior. BankAccount (Method Specifications) depositToChecking(double d)...boolean Adds d to the checking Balance and displays 'S[d] deposited to Checking'...returns true depositToSavings(double d)...boolean Adds d to the savings Balance and displays 'S[d] deposited to Savings'...returns true withdrawFromChecking(double d)...boolean Subtract d from the checking Balance after checking to ensure the amount of d is available and that the remaining checkingBalance is greater than the minChecking Balance and displays '$[d] withdrawn from Checking' returns true... if either condition is not me then display message 'Withdraw cannot be made' and returns false withdrawFromSavings(double d)...boolean Subtract d from the savings Balance after checking to ensure the amount of d is available and that the remaining savings Balance is greater than the minSaving Balance and displays 'S[d] withdrawn from Savings' return true... if either condition is not met then display message 'Withdraw cannot be made' and returns false Account Servlet 5 HttpServlet Account protected void doGet(HttpServletRequest request, HttpServletResponse response) The doGet method creates the specified BankAccount objects (Slide 6) and displays their information as shown on Slide 7. Object Creation 6 Create the following BankAccount objects within the Account servlet. Account Reference (Identifier) Last Name First Name Tax IDNumber 123456 Savings Balance 3400.00 Checking Balance 2390.00 5360.00 B1 Johnson Bobby Richard Savings Interest Rate 2% 2.5% 2.1% B2 654888 Thomas Turner 5400.00 5400.00 B3 James 622898 360.00 Object Creation Create the following BankAccount objects within the Account servlet. Last Name First Name Account Reference (Identifier) B1 Johnson Thomas Turner Tax IDNumber 123456 654888 622898 Bobby Richard James Checking Balance 2390.00 5360.00 Savings Balance 3400.00 5400.00 5400.00 B2 Savings Interest Rate 2% 2.5% 2.1% B3 360.00 Application Webpage Output 7 Bank Account Application Search. http://localhost:8080/Loco BANK ACCOUNT Bank Account Information Utilizing servlets and basic HTML create your index.html to display like this Bobby Johnson . ACCOUNT: A-001 Display Accounts TAX ID: 123456 . CHECKING: Get Account S2390.00 $3400.00 SAVINGS - Richard Thomas . ACCOUNT: A-002 TAX ID: 654888 - CHECKING: S5360.00 . SAVINGS: $5400.00 James Turner . ACCOUNT A-003 . TAXID 622898 . CHECKING: S.00 SAVINGS: $.00
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
- Unlimited Question Access with detailed Answers
- Zin AI - 3 Million Words
- 10 Dall-E 3 Images
- 20 Plot Generations
- Conversation with Dialogue Memory
- No Ads, Ever!
- Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Other questions asked by students
StudyZin's Question Purchase
1 Answer
$0.99
(Save $1 )
One time Pay
- No Ads
- Answer to 1 Question
- Get free Zin AI - 50 Thousand Words per Month
Best
Unlimited
$4.99*
(Save $5 )
Billed Monthly
- No Ads
- Answers to Unlimited Questions
- Get free Zin AI - 3 Million Words per Month
*First month only
Free
$0
- Get this answer for free!
- Sign up now to unlock the answer instantly
You can see the logs in the Dashboard.