Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (tux):

Here is project: https://docs.google.com/open?id=1UrVRj9ag3y6WYSq1fX8XB6CWAOKnmnVaaHv8Sh0TPOtaCpOrnHN5ggnBg1P0 Here is my code: https://docs.google.com/document/d/1ekOeoYlugZJFPjA8tkt_lEKXW5iKiZEhPhqB6oHC9Mo/edit Question: How to make it to work for 10 users?

OpenStudy (anonymous):

First suggestion is to make some variable hold an array 10 of Accounts. Then you will need to instrument a lookup function for accounts. Are you supposed to store the accounts outside of the program?

OpenStudy (anonymous):

I would say in the ATM.java class you should create: Account[10] accounts = new Account[10]; for a start.

OpenStudy (tux):

"Are you supposed to store the accounts outside of the program?" Yes

OpenStudy (anonymous):

So do you need to save them to a file?

OpenStudy (tux):

It must create objects in array for 10 users and then when the user enters pin identify to which user it belongs and print his information.

OpenStudy (tux):

Problem is solved. Soon it will be available on my blog (waiting to get grade - if professor see it on my blog he could think I cheated :D). Contact me if you are interested in solution.

OpenStudy (tux):

Here is solution: http://nandland.blogspot.com/2012/01/atm-java-project.html

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!