Question: please I want those 4 parts 3. A Java method to count and return the number of lines, words, and characters in an input file
3. A Java method to count and return the number of lines, words, and characters in an input file (Do not count spaces as characters). It returns the required information in an array of integers. public int fileInfo (String filename) 4. Use the same input file you created in the previous question and output the number of lines, words, and characters in that file. When 5. A Java method to convert words in a file into all capital letters and writes the output to an output file. The header of the method takes the input file name and the output file name: public void convert (String inputFileName, String outputFileName) 6. Test your method in the main method using the same input file you created. Use a different file name as your output file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
