initalizing array list code example Example: java initalize arraylist List<Type> list = Arrays.asList(elem1, elem2,..., elemN);