Need to read several files. Full paths to them lie in a certain ArrayList.
try (Scanner scanner = new Scanner(new File(//сюда нужно воткнуть элементы Arraylist))) {
What needs to be done in order for the program to accept ArrayList elements as parameters?