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