Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: georgewb
Forum: Java Nov 23rd, 2008
Replies: 6
Views: 3,649
Posted By georgewb
actually i found the answer

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

thanks guys ;)
Forum: Java Nov 21st, 2008
Replies: 6
Views: 3,649
Posted By georgewb
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();
Forum: Java Nov 21st, 2008
Replies: 6
Views: 3,649
Posted By georgewb
Hi everyone,
I need your help please

What do i need to make my program read
the next character

using console.nextChar();

I've added the following:
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC