aspose file tools
The moose likes Beginning Java and the fly likes what's the command equivalent to getch() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what Watch "what New topic

what's the command equivalent to getch()

Jeff Pacubas

Joined: Feb 17, 2002
Posts: 1
I can't seem to find the command that would be equivalent to the getch() function in C. Any suggestions in a reference? Thanks!
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
remind us all what getch() does in c?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Well, String has a charAt(index) method that seems similar.
It is sorta covered in the JavaRanch Style Guide.
subject: what's the command equivalent to getch()