Tag: readLine
-
How to count number of lines, words and characters in a file
This is the first solution to count number of lines, words and characters in a given file. This approach uses the FileReader, BufferedReader, StringTokenizer and String methods.
-
How to find strings with no vowels in a file
This is the first solution to find all the strings with no vowels, in a given file. This approach uses the FileReader, BufferedReader, StringTokenizer and StringBuffer methods.
-
How to find and replace a given string with new string in a file
This is the first solution to find and replace a given string with a new string in a file. This approach uses the FileReader, BufferedReader, FileWriter, BufferedWriter, and StringBuffer methods.
-
How to count number of occurrences of a given word in a file
This is the first solution to count the number of occurrences of a given word in the file. This approach uses the FileReader, BufferedReader, and string buffer methods.
