java file to import for using arraylist code example
Example 1: how to import an arraylist in java
import java.util.ArrayList;
Example 2: java read integer from text file into array scanner
Scanner scanner = new Scanner(new File("input.txt"));
int [] tall = new int [100];
int i = 0;
while(scanner.hasNextInt())
{
tall[i++] = scanner.nextInt();
}