Embed presentation
Downloaded 57 times









![Array List mfarra.cst.ps www.fb.com/MahmoudRFarra The ArrayList is in the java.util package, it is imported in line 1. Case Study: Develop a program that prompts the user to enter a sequence of numbers and displays the distinct numbers in the sequence. Assume that the input ends with 0 and 0 is not counted as a number in the sequence. [ind, N.W]](https://image.slidesharecdn.com/5arraylist-151108192614-lva1-app6892/75/5-Array-List-data-structure-course-10-2048.jpg)


This document provides an introduction to and overview of the ArrayList class in Java. It discusses how ArrayLists allow for dynamic sizes unlike arrays and can store an unlimited number of objects. It also contains an example of creating and using an ArrayList to store String objects and compares the key differences between arrays and ArrayLists. The document was prepared by Mahmoud Rafeek Al-farra and includes links to additional resources on ArrayLists.









![Array List mfarra.cst.ps www.fb.com/MahmoudRFarra The ArrayList is in the java.util package, it is imported in line 1. Case Study: Develop a program that prompts the user to enter a sequence of numbers and displays the distinct numbers in the sequence. Assume that the input ends with 0 and 0 is not counted as a number in the sequence. [ind, N.W]](https://image.slidesharecdn.com/5arraylist-151108192614-lva1-app6892/75/5-Array-List-data-structure-course-10-2048.jpg)
