Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

read many lines from stdn java

Scanner stdin = new Scanner(new BufferedInputStream(System.in));

 while(stdin.hasNext()) {
   System.out.println(stdin.nextLine());
}
 
PREVIOUS NEXT
Tagged: #read #lines #stdn #java
ADD COMMENT
Topic
Name
9+3 =