Question: a. Write an application that allows a user to enter a filename and an integer representing a file position. Assume that the file is in
a. Write an application that allows a user to enter a filename and an integer representing a file position. Assume that the file is in the same folder as your executing program. Access the requested position within the file and display the next 20 characters there. Save the file as SeekPosition.java.
b. Modify the SeekPosition application so that instead of displaying 20
characters, the user enters the number of characters to display, beginning with the requested position. Save the file as SeekPosition2.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
