Question: Task 2: Write a Java program that reads an input text-file it then writes to an output text-file the number of uppercase characters, lowercase characters,

Task 2: Write a Java program that reads an input text-file it then writes to an output text-file the number of uppercase characters, lowercase characters, digit characters, white space characters, other characters, and the total number of characters in the text-file. Note: In windows, each line of a text-file, except the last line, is terminated by the character pair " "Task 2: Write a Java program that reads an input text-file it

Sample input file: This is a Test File. 456 7 Sample output file: Number of uppercase characters 3 Number of lowercase characters = 12 Number of digit characters4 Number of whitespace characters -8 Number of other characters 1 Total number of characters 28

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!