• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HELP!!

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Trailboss
Posts: 23778
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is now three and a half hours later... Did you post a message somewhere about your problem? I'll look around.
 
Joe Grafton
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 23778
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm going to move this to the "Java in General (beginner)" forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic