what is an initializer list java code example Example: list java initialize List<MyType> myList = new ArrayList<MyType>();