system.in.read

1 view
Skip to first unread message

vivi

unread,
Mar 21, 2005, 6:39:25 AM3/21/05
to java_o...@googlegroups.com
hi all
i used
int x = System.in.read();
and i entered 7 on command promt and then i tried to print the same
value, but i am getting the ascii value .
what should i do, 2 get the integer value which i entered

Reply all
Reply to author
Forward
0 new messages