+ 1

How to read a file line by line? The output should not be like word by word. Any idea?

15th Apr 2017, 2:32 PM
Deep chand
Deep chand - avatar
2 Réponses
+ 3
Scanner scan = new Scanner(new File (filenameAsString)): System.out.println (scan.nextLine);
15th Apr 2017, 4:28 PM
Edward
+ 1
nextLine() I got it already. Thanks.
15th Apr 2017, 4:31 PM
Deep chand
Deep chand - avatar