It is not possible to deposit additional funds into this


Suppose you want to implement a class TimeDepositAccount. A time deposit account has a fixed interest rate that should be set in the constructor, together with the initial balance. Provide a method to get the current balance. Provide a method to add the earned interest to the account. This method should have no parameters because the interest rate is already known. It should have no return value because you already provided a method for obtaining the current balance. It is not possible to deposit additional funds into this account. Provide a withdraw method that removes the entire balance. Partial withdrawals are not allowed.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: It is not possible to deposit additional funds into this
Reference No:- TGS01712519

Expected delivery within 24 Hours