dBforums
>
Data Access, Manipulation & Batch Languages
>
JAVA
> String - Input
PDA
View Full Version :
String - Input
MrPugh
06-20-02, 18:02
Hi!
How can I realize String-input from the console??
dineshrama
06-21-02, 11:55
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line = in.readLine();
Source : http://java.sun.com/j2se/1.3/docs/api/java/io/InputStreamReader.html
~ D
vBulletin v3.5.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.