Question: // Create a method void addItem(String item) that adds the expense item to the array list of items //-----------Start below here. To do: approximate lines
// Create a method void addItem(String item) that adds the expense item to the array list of items
//-----------Start below here. To do: approximate lines of code = 2
// Create a method void clear items() that removes all the items from the array list of items
//Hint: look at the documentation for class ArrayList for a suitable method to use
Step by Step Solution
There are 3 Steps involved in it
import javautil utility class to display uses of arraylist class UseOfArrayList private ArrayList St... View full answer
Get step-by-step solutions from verified subject matter experts
