java list to arraylist declaration code example
Example 1: java create arraly list
List<String> words = new ArrayList<String>();
Example 2: java arraylist declaration
ArrayList<E> yourArray = new ArrayList<E>();
//'E' can be raplaced with any data type or object, or left as
// E if used for general funcitonality