javascript
Brief description  about Online courses   join in Online courses
View Akshay Arun Fadte 's Profile

how to do dis?? single costructor for all?

1. Please write a program to illustrate Banking Application to register new users. Use a class called Bank which holds data like:
- Customer Name
- Customer Age
- Customer Mobile Number
- Customer email ID
- Account Type
- Minimum Balance

Use constructors to access the Bank class and print all the details on screen.
Asked by Akshay Arun Fadte | Feb 6, 2014 |  Reply now
Replies (1)
View java teacher 's Profile
Create a class named Bank,

Decalre the variables Customername, CustomerAge, CustomerMobileNumber, CustomermailId, AccountType, MinimumBalance

Create a constructor Bank

And then create a method to take the values and then create the main class and call the method to print.

Try this.
Feb 6, 2014