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