arraylist in jva code example
Example 1: arraylist
ArrayList<String>arrayList=new ArrayList<>();
Example 2: java arraylist
List<String> expenseTypeList = new ArrayList<>();
expenseTypeList.add("GENERAL");
expenseTypeList.add("PURCHASE");
expenseTypeList.add("PROJECT");