In C++, we can input any type values (int, double,
string,...) from keyboard easily. In
java, System.out.read() only reads one character from keyboard and returns the ASCI value in integer. We have to convert the integer to character.
Is there any easier way in jave to read int (or string,....) from keyboard?
In Core Jave 2, the author wrote a console class to do this job. Why didn't Sun's engineer to fix this problem?