Question: design a Java program that reads all the characters in a text file (input.txt) and outputs the following to a text file (output.txt) 1. Total


design a Java program that reads all the characters in a text file ("input.txt") and outputs the following to a text file ("output.txt")

"1. Total number of upper case alphabet:" RESULT

"2. Total number of lower case alphabet:" RESULT

"3. Total number of white space (blank, ' ' and '\t'):" RESULT

"4. Total number of lines:" RESULT

"5. Total number of digits:" RESULT

"6. Total number any other type of characters:" RESULT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Java program to accomplish the task import javaioBufferedReader import javaioBufferedWriter ... View full answer

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 Programming Questions!