Answer to Question #325873 in Java | JSP | JSF for nancy

Question #325873

Consider the UML below:



LoanInterest

    


                                               

 

 

 A bank charges varying interest rates for loans made by students depending on whether they are undergraduate or post-graduate students. Undergraduates are charged 12% on the loan amount and postgraduates 10%. Interest on a small-business loan is 15%.

a)   Write the Java code to declare the LoanInterest interface with the method interest().                                                                                                       

b)   Write the Java code for the definition of the Student class.                          

c)   Write the Java code for the definition of the subclass UnderGrad.              

d)   Construct objects of each of the subclasses and assign them to an arraylist.                                                                                                                               

                       

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 



0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS