how to add items to arraylist java initialiser list code example Example: list java initialize List<MyType> myList = new ArrayList<MyType>();