1. Overview
In this quick article, we’re going to look at different ways of reading a line at a given line number inside a file.
2. Input File
Let’s start by creating a simple file named inputLines.txt that we’ll use in all of our examples:
#java #java io