how to determine the size of an arraylist java code example Example: arraylist length java aList.size()