set up an arraylist java code example
Example 1: java create arraly list
List words = new ArrayList();
Example 2: java arraylist
List expenseTypeList = new ArrayList<>();
expenseTypeList.add("GENERAL");
expenseTypeList.add("PURCHASE");
expenseTypeList.add("PROJECT");