declare new arraylist with list code example Example: how to make a new arraylist java ArrayList<Type> name = new ArrayList<Type>();