aspose file tools
The moose likes Beginning Java and the fly likes HELP!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "HELP!!" Watch "HELP!!" New topic
Author

HELP!!

Joe Grafton
Greenhorn

Joined: Feb 23, 2000
Posts: 5
Is anyone online at the moment. I need some help.
If so, please let me know.
Any help would be GREATLY appreciated.
Thanks,
Joe G
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 19785
    ∞

It is now three and a half hours later... Did you post a message somewhere about your problem? I'll look around.


permaculture forums
Joe Grafton
Greenhorn

Joined: Feb 23, 2000
Posts: 5
hi everyone,
It's lunch for me now so here goes:
I am working on a hw assignment that models a bank.
There are 3 accounts and the normal transactions to be performed on them. (i.e. deposit, balance, withdraw, etc.) I am being asked to add a transfer method under the model of :
private void transfer (BankAccount to, BankAccount from, int amount) I have instantiated the statement as a seperate method under the Bank class (Bank.java) However, my problem lies in the reading of the transfer string. I can't get the program to compile. I have tried numerous methods. such as :
terminal.readInt("account 1,2,3)" + whichAccount);(xfer where)
int amount = readInt(amount); (prompt for the amount to xfer)
none of these would do it for me. i realize this is not enough info but if anyone has suggestions or would like to get more info, i have a hard copy at work, but no access to the file so I can type it in as an entry here.
Any help, again, would be GREATLY appreciated.
Thank you all!!!
Joe G.
Originally posted by Paul Wheaton:
It is now three and a half hours later... Did you post a message somewhere about your problem? I'll look around.

paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 19785
    ∞

I'm going to move this to the "Java in General (beginner)" forum.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 19785
    ∞

Are you trying to read information from the user at the console?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: HELP!!
 
Similar Threads
return value
octal, hex
Need Guidance
what is your dream?
Majji Exm1 :