I've solved this task, or at least it has been validated by CodeGym as correct. I still have a question, though. The code is supposed to read lines from a real file, the path to which we need to assign as a value to the public static String field called FILE_NAME (of the file called Statics). However, it does not actually display anything read from the source file. I tried making it read from a file on my local PC first:
public static String FILE_NAME = "C:\\Users\\passe\\Documents\\DOCS\\TestTextDoc.txt";
Then I created a file in the folder of the corresponding task at CodeGym and assigned its address to the FILE_NAME variable:
public static String FILE_NAME = "C:\\Users\\passe\\codegym\\11483190\\codegym-project\\src\\com\\codegym\\task\\task15\\task1525\\Source file";
But the program still displays nothing, even though the main method of the Solution class does call the println of the list of the strings we have "read" from the file. So, the task is completed, but I'm not satisfied. How can I make the program do its real job?