how to find the length of an array list in java code example Example: arraylist length java aList.size()