Question: Write a Java program that reads an input text-file and it writes to an output text-file the number of words that start with uppercase letter

Write a Java program that reads an input text-file and it writes to an output text-file the number of words that start with uppercase letter in each line of the input text-file. Your program must display an error message on the monitor if the input text-file is empty Hint: You may require to use a String scanner in your program. Note: Your program must be general; it must work for any input file. The behaviour of your program must be similar to the sample program runs belovw Sample input file This is A Test Second Line the Fourth line. I am a CMScI ICS 102 STUDENT Sample output file: Line# Required word count
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
