what is an arraylist java code example
Example: java arraylist
List expenseTypeList = new ArrayList<>();
expenseTypeList.add("GENERAL");
expenseTypeList.add("PURCHASE");
expenseTypeList.add("PROJECT");
List expenseTypeList = new ArrayList<>();
expenseTypeList.add("GENERAL");
expenseTypeList.add("PURCHASE");
expenseTypeList.add("PROJECT");