empty arraylist java 8 code example Example: java create empty arraylist ArrayList<Class> myList = new ArrayList<Class>();