Reading single character from console in java -
how read single character console in java...?? can done without bufferedreader..?
using:
int byte = system.in.read(); char singlechar = (char)byte;
should read single byte console.
how read single character console in java...?? can done without bufferedreader..?
using:
int byte = system.in.read(); char singlechar = (char)byte;
should read single byte console.
Comments
Post a Comment