bank management
Assume that the bank maintains two kinds of accounts for its customers, one called savings
account and the other current account. The savings account provides compound interest and
withdrawal facilities but no cheque book facility. The current Account provides cheque book
facility but no interest .Current account should also maintain a minimum balance and if the
balance falls below this level, a service charge is imposed.
In this program student is expected to create 3 classes as described below.
1. Account Class : This is an abstract class. It contains following information,
- Customer Account number an integer number,
This is automatically generated starting from 101.
- Customer type which is of character type and can have
only 2 values C or S. C for Curr-acct and S for Savings account
- Customer Name.
- Customer Address of String type.
This class has following methods,
- Constructor method to initialize all 4 variables given above
- One method that displays all above information in required
output format.
- One abstract method defined as,
float calculates Balance ( );
This method is overridden in the two subclasses.
2. Curr-accnt class : This is one subclass of above defined Account class and stores
following information,
- Balance in Account.
- Interest Rate.
- Penalty.
This class contains following methods,
- Constructor.
- Overridden method calculate Balance to calculate the
balance in account.
- Accept deposit from customer and update the balance.
- Compute and deposit interest.
- Withdraw and update interest.
- Check for minimum balance, impose penalty if necessary
and update the balance.
- Method that displays the data in this class and super
class in the required output format. 3. Savings-accnt class This is one subclass of above defined Account class and
stores following information,
- Balance in Account.
- Interest Rate.
This class contains following methods,
- Constructor.
- Overridden method calculate Balance to calculate the
balance in account.
- Accept deposit from customer and update the balance.
- Compute and deposit interest.
- Withdraw and update interest.
- Method that displays the data in this class and super
class in the required output format.
At the end, this program should ask the user to enter the customer account number
and should find out whether the particular account number is valid or not. If the customer is
present then the all the information about the concerned account should be displayed .
Similarly, the customer is asked whether the customer wants to deposit or withdraw the
amount and accordingly proper methods are invoked.
If the customer account number is not valid then proper error message should be displayed.
View Answers
Related Tutorials/Questions & Answers:
bank management - Java Beginnersbank management Assume that the
bank maintains two kinds of accounts for its customers, one called savings
account and the other current account. The savings account provides compound interest and
withdrawal facilities
Advertisements
project on bank management system - Swing AWTproject on
bank management system plz give me code to move from by clicking a button on one panel to other panel and the add textfield and label such as name , address etc to second panel and textfield are one below to other
bank applicationbank application hello sir I got the simple
bank application project which is very useful but I want the database for this project kindly send me database for this simple online
bank application
Bank projectBank project
Create a class Customer
a. Having Instance variables Customer id(int), Customer Name(String), Customer Address(String), Customer Telephone(String) and Customer Email id(String)
b. Method which generates Customer Id
ManagementManagement Hi,
Can anyone give me full details of
Management?
Thanks
Hi,
Please see the thread What is
management?
Thanks
ModuleNotFoundError: No module named 'bank'ModuleNotFoundError: No module named '
bank' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
bank'
How to remove the ModuleNotFoundError: No module named '
bank' error
ModuleNotFoundError: No module named 'bank'ModuleNotFoundError: No module named '
bank' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
bank'
How to remove the ModuleNotFoundError: No module named '
bank' error
abt the bank applicationabt the
bank application pls can u send to me the user table and transaction table sql statement with their datatype used in this
bank application to my email
ModuleNotFoundError: No module named 'bank_card'ModuleNotFoundError: No module named '
bank_card' Hi,
My Python... '
bank_card'
How to remove the ModuleNotFoundError: No module named '
bank... have to install padas library.
You can install
bank_card python with following
ModuleNotFoundError: No module named 'Bank-of-Tz'ModuleNotFoundError: No module named '
Bank-of-Tz' Hi,
My Python... '
Bank-of-Tz'
How to remove the ModuleNotFoundError: No module named '
Bank... have to install padas library.
You can install
Bank-of-Tz python
bank details - JSP-Servletbank details hi i just need a coding for
bank details...
since iam working as a trainee my leader gave me task like this..
What he want me to do is first to set the user account details in database, and the to create a login
Bank account guiBank account gui Add event handling to the AccountUI class which will allow you to:
1. Create new account, when the ââ?¬Ë?Createââ?¬â?¢ button... static void main(String arg[]){
Account at=new Account ();
at.setTitle("
Bank Account
bank account guibank account gui Add event handling to the AccountUI class which will allow you to:
1.Create new account, when the â??Createâ?? button is pressed...[]){
Account at=new Account ();
at.setTitle("
Bank Account System");
at.setSize(500,300
simple bank application - JSP-Servletsimple
bank application hi i got ur codings...But if we register a new user it is not updating in the database...so plz snd me the database also....
Thank you
bank of america data scientist jobsbank of america data scientist jobs Hi,
I am beginner in Data...:
bank of america data scientist jobs
Try to provide me good examples or tutorials links so that I can learn the
topic "
bank of america data scientist