View Single Post
Join Date: Nov 2008
Posts: 3
Reputation: georgewb is an unknown quantity at this point 
Solved Threads: 0
georgewb georgewb is offline Offline
Newbie Poster

Re: console.nextChar(); HELP PLEASE???

 
0
  #3
Nov 21st, 2008
Originally Posted by Antenka View Post
Scanner has no definition of method getChar.
so how can i make a program that reads the 1st character that the user enters:

for example:

if user enters :: A 1 2

ch= console.nextChar();
g = console.nextInt();
h= console.nextInt();

what can i use instead of nextChar()??
Thanks in advance
Reply With Quote