Computer Science, asked by princemalhotra5190, 1 year ago

Write a java console application that calculates and displays the bank interest for n bank accounts

Answers

Answered by jogi23
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. 
Similar questions