Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

Inheritance and Exception Handling

The ability to use methods and variables from another class is critical to the Java programming language. This week inheritance and exception handling techniques are explored. Since performance is an issue with Exception handling is important to use them only for compiler checked errors. To identify the checked exceptions is essential to developing efficient coding.

Assignment:

GoBank has been asked to go back and reprocess the loan payments for a car loan of $18,875. The car loan is a 0% interest loan. The loan is for 60 months. The customer does not believe the bank has the correct outstanding balance for her loan ($12,500). The customer has copies of 20 payments made to the bank. A clerk makes a copy of the payments and enters them into a file.

To verify the banks total, read the file and write a program using a CarLoan class that extends the BankAccount class (found on page 671 - 672 in the textbook).

The CarLoan class has the following features.

1) An overload constructor that initializes the car loan balance. (Hint: Uses super to set the balance.)

Create a CarLoanClient class that

  1. Create CarLoan object (see CheckingAccountClient line 9 on page 667).
  2. Read the file one payment at a time (Include exception handling code see example on page 755).
  3. Use the payment read from the file to pass the information to method to calculate the outstanding balance. Hint: Use the withdrawal method.
  4. Printout the payment number, payment amount and outstanding balance.
  5. Continue to process for each payment until the end of the file.

Create a text file with the following numbers.

Monthly Payment 315 451 315 374 353 315 450 484 412 315 495 476 321 315 406 329 326 356 315 325

Make a screenshot of the output and include it as an attachment to the Week 7 Assignment. Also, include the program code in a text file to run on another computer. Comment the code to receive full credit (see page 45).

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92427097
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Business Management

Draw supply and demand curve to illustrate the following

Draw supply and demand curve to illustrate the following sequences of events. Show changes in one graph. Assume upward sloping for supply curves and downward sloping for demand curves 1. In year 1, the rental apartment m ...

Question 1 what impresses you about rosen hotels and

Question 1: What impresses you about Rosen Hotels and Resorts? What has accounted for Rosen Hotels and Resorts success? What aspects of Rosen Hotels and Resorts do you find unimpressive? (Case Study: Rosen Hotels & Resor ...

Histograms for grouped datahere are the shopping times in

Histograms for grouped data Here are the shopping times (in minutes) for a sample of 18 shoppers at a particular grocery store: 26, 23, 44, 41, 38, 35, 31, 28, 25, 22, 31, 31, 27, 27, 24, 24, 21, 21 Draw the histogram fo ...

What is the different between product attributes production

What is the different between product attributes, production capabilities, marketing capabilities and cash requirements that are needed to appeal to a) early buyers and b) the mass market.

In class we were discussing different types of learningwhat

In class we were discussing different types of learning What is the difference between Institutional Learning and System Learning? Is it possible to transition from one to the other in the business setting?

Management is a complex mix planning controlling organizing

Management is a complex mix planning, controlling, organizing, and leading. Within this complexity, what is a role that a manager may play in an effort to manage the relationships between planning, controlling, organizin ...

May i know five to six key important ways to drive

May I know five to six key important ways to drive medication utilization for orphan drugs in the rare disease category, specifically under Medicare coverage? Additionally, could you please direct me to resources I may b ...

The balanced scoreboard approach has gained popularity in

The balanced scoreboard approach has gained popularity in recent years. What is this approach and how does it integrate strategic and operational control?

Would a shortened workday motivate employees to preform

Would a shortened workday motivate employees to preform better at their job? Why or why not.

Why is environmental analysis important for an organization

Why is environmental analysis important for an organization? Please be detailed.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As