Example 3: Accessing Elements from an ArrayList This example shows: The use of the isEmpty () method to check if an ArrayList is empty. The use of the size () method to find the size of an ArrayList.
Lab Objective: In this lab, we will demonstrate how to declare and initialize ArrayList, and how to manipulate ArrayList using built-in methods. By the end of this lab, learners will be able to use ...