Write a java console application that calculates and displays the bank interest for n bank accounts
Answers
Answered by
0
Design a class to represent a bank account. Include the following members:
Data Members
->Name of the depositor
->Account Number
->Type of Account
->Balance amount in the account
Methods
->To assign intial values(with method and not with constructor)
->To deposit an amount
(Include computation of Interest for saving a/c)
->To withdraw an amount after checking balance
(check minimum balance if necessary for current account impose penalty)
->To display the name and balance
Create a class Account that stores customer name, account number and type of account. From
this derive the classes Curr-acct and Sav-acct to make them more specific to their requirements. Include the necessary methods in order to achieve the above mention task.
Data Members
->Name of the depositor
->Account Number
->Type of Account
->Balance amount in the account
Methods
->To assign intial values(with method and not with constructor)
->To deposit an amount
(Include computation of Interest for saving a/c)
->To withdraw an amount after checking balance
(check minimum balance if necessary for current account impose penalty)
->To display the name and balance
Create a class Account that stores customer name, account number and type of account. From
this derive the classes Curr-acct and Sav-acct to make them more specific to their requirements. Include the necessary methods in order to achieve the above mention task.
Similar questions