Project #91467 - Java Programming

I want a Java program as follows

 

Create a class BankAccount. The class should have the following fields; name, balance, account number and gender. Create the accessor and mutator methods for name, account_number and gender fields. In addition, create two extra methods deposit( ) and withdraw( ), which accepts a double variable amount. The deposit method should increase the balance, while the withdraw method should reduce the balance.

Create another class called WatejaBank that uses the BankAccount class to create bank accounts and produce bank statements for Wateja Bank Ltd. Prompt the user to enter the names, balance, account number and gender for at least two clients. In addition, allow the user to perform deposit and withdraw operations for the two accounts. Display the bank statements of the two accounts created by the user.

Subject Computer
Due By (Pacific Time) 01/05/2016 09:29 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy