Question: Write a Java program that reads a text file and creates a new file with the same contents but with all the words in reverse

Write a Java program that reads a text file and creates a new file with the same contents but with all the words in reverse order. The program should prompt the user for the input and output file names. Hint: Use an array
5. Write a Java program that reads a text file and creates a new file with the same contents but with all the words in reverse order. The program should prompt the user for the input and output file names. Hint: Use an array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
