Question: use 8 steps Assignment 2 AbstractFactory Factory Creator Abstract Factory Pattern Example asks uses getFactory (String choice) AbstractFactory main ): void >getLoan (String loan): Loan

use 8 steps use 8 steps Assignment 2 AbstractFactory Factory Creator Abstract Factory Pattern Example

Assignment 2 AbstractFactory Factory Creator Abstract Factory Pattern Example asks uses getFactory (String choice) AbstractFactory main ): void >getLoan (String loan): Loan extends BankFactory extends LoanFactory getBank(): Bank creates Bank getLoan): Loan creates Loan Urate: double ccabstract +getinterestRate (double rate): void calculateLoanPayment (double loanAmount, int tenure): void *getBankName(): String ICICI HDFC -BNAME: String +HDFC) *getBankNamel): String BusinessLoan HomeLoan -BNAME: String +ICICIO +getBankName(): String getinterestRate (double rate): void getinterest Rate (double rate): void Create the java code correspondent to the pattern represented by this diagram (PatternDemo, Factory creator, Interfaces, classes ...)

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!