Java Lab Asking User Name Input File Name Output File Read Input File Modify Line Write Mo Q37261159

Java

In this lab, you will be asking the user for the name of aninput file and the name of an output file. You will read the inputfile, modify each line, and write each modified line to the outputfile. Each line of the input file should be in the form<str>:<i>:<j>. For each line, you should takethe substring of str between indices i and j. Assume the lines willalways be entered is this form and i and j will always be numbers.You must make sure i and j are valid indices of str and i<=j. You may use any String methods you

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.