5. Arrays and ArrayList
Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.
An array has a fixed size and positions start at 0. For a list that grows, use ArrayList from java.util, which has add and get methods.
Ver ejemplo
int[] nums = {4, 8, 15};
System.out.println(nums[0]);