question
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 initial values • To deposit an amount • To withdraw an amount after checking balance. • To display the name and balance Modify the program to incorporate a constructor to provide initial values.
write java program for the above Design a class to represent a bank account. Include the following members: Data members • Name of the depositor • Accoun
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am