Answered step by step
Verified Expert Solution
Question
1 Approved Answer
UML diagram analysis: refer to the following UML diagram of the Loan Class. a) How many instance variables does the class have? b) How many
UML diagram analysis: refer to the following UML diagram of the Loan Class. a) How many instance variables does the class have? b) How many methods that return a value? c) How many static methods? d) How many constructors? e) How many default data fields? Loan -annu a lInterestRate: double - nu m ber fy ears: int - loan Amount: double - loan Date: Date + Loan () +L oan (an nu a lInterestRate: double, num ber fy ears: int, lo an A mount: double) +getA n nu a lInterestRate(): double + getNum bero fy ears(): int + getLoan A mount(): double + getLoan Date(): Date + setAnnualInterestRate annualInterestRate: double): void + set Numbero fy ears num bero fy ears: int): void + setLoan Amount loan A mount: double): void + getM onthly Payment(): double + g ett otalPayment(): double
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started