Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone give me the code of this Abstract Factory Factory Creator Abstract Factory Pattern Example asks uses +getFactory (String choice) :AbstractFactory +main():void > +getBank

can someone give me the code of this image text in transcribed

Abstract Factory Factory Creator Abstract Factory Pattern Example asks uses +getFactory (String choice) :AbstractFactory +main():void > +getBank (String bank): Bank > +getLoan (String loan): Loan extends BankFactory extends LoanFactory +getBank(): Bank +getLoan): Loan creates Loan creates Bank Nrate: double +getBank Name(): String > +getinterest Rate (double rate): void +calculateLoanPayment (double loanAmount, int tenure): void HDFC ICICI Business Loan Home Loan -BNAME: String +HDFCC +getBankName(): String -BNAME: String +ICICIO +getBankNamel): String +getinterestRate (double rate): void +getinterestRate (double rate): void 39

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions