Java Program
1.Open notepad or word and type the following: 408888 201853162621 126106 118038 102972 92384 90218 80145 54525 49782 4392642883 Save the file as ”population.txt” DO NOT save the file in docor docx format, save in Plain Text format (extension txt). “2.Files and Array Lists” Create a class named FileAverage. In thisclass you will write a method that takes a String representing afile name as parameter, and returns an array list consisting of allintegers in that file. You may assume that the file consists only ofintegers. Create a method named readFile that takes a String namedfileName whose type is ArrayList.
OR
OR