neue arraylist erstellen java code example Example: arraylist ArrayList<String>arrayList=new ArrayList<>();