|
|
вернуться в форумhow to get user input with out compiling the Java...PLZ urgent Послано Farruh 25 окт 2014 17:12 I can get user input ...coz when i wanna make the line breaks...Java compiler Intillej starts to get compiled plz i need help Re: how to get user input with out compiling the Java...PLZ urgent to get input use this code ********************************* char[] bytes = new char[256 * 1024]; BufferedInputStream bufferedInputStream = new BufferedInputStream(System.in); InputStreamReader inputStreamReader = new InputStreamReader(bufferedInputStream); inputStreamReader.read(bytes); String string = new String(bytes); |
|
|