initializer list in java meaning code example Example: list java initialize List<MyType> myList = new ArrayList<MyType>();