Question
JAVA Imagine you are employed as a Java programmer at a bank. The bank wants to develop a system to store and approve loan applications.
JAVA
Imagine you are employed as a Java programmer at a bank. The bank wants to develop a system to store and approve loan applications. A clerk can create and view the loan application but only a manager can approve a loan.
While taking advantage of inheritance, define classes required to create the clerk and manager objects. Assume that both the objects have id, name and only manager has a bonus attributes. A loan application will require the customer name, loan amount and a flag to for approval. Make sure you have the methods to view, add and approve loans. Note: You can implement the methods to view, add and approve loan applications details by simply displaying different messages
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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