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(); ???

 
0
  #6
Nov 23rd, 2008
actually i found the answer

String a= console.next();
char b = (char)a.charAt(0);

thanks guys
Reply With Quote