how to create a dynamically arraylist in java code example Example: java create arraly list List<String> words = new ArrayList<String>();