Question: 2.11 File IO - Practice Write a program that opens a text file (InputFile.txt) and reads the input. The file contains lines of string that

2.11 File IO - Practice

Write a program that opens a text file (InputFile.txt) and reads the input. The file contains lines of string that look like this:

"this is line one."

Change the input string to upper case ("THIS IS LINE ONE.") Write the upper case line to a OutputFile.txt. Be sure to read all lines from the input file.

2.11 File IO - Practice Write a program that opens a text

LAB ACTIVITY 2.11.1: File 10 - Practice 0/5 Main.java Load default template... 1 public class Main { 2 public static void main(String[] args) { 3 /* Type your code here. */ 4 } 5 6

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!