Sulaimani Polytechnic University
Technical College of Informatics
Department of Computer Networks
Data Structure and Algorithms
2024-2025
(Lab 4)
(Arraylist)
Create a new project called “arrayList”.
1. The project has an interface as below:
Lecturer: Warmn Faiq Ahmed Page 1|4
Warmn.faiq.a@spu.edu.iq
Sulaimani Polytechnic University
Technical College of Informatics
Department of Computer Networks
Data Structure and Algorithms
2024-2025
2. The class implements the interface as below:
Lecturer: Warmn Faiq Ahmed Page 2|4
Warmn.faiq.a@spu.edu.iq
Sulaimani Polytechnic University
Technical College of Informatics
Department of Computer Networks
Data Structure and Algorithms
2024-2025
3. There are six public methods and one protected method as below:
Lecturer: Warmn Faiq Ahmed Page 3|4
Warmn.faiq.a@spu.edu.iq
Sulaimani Polytechnic University
Technical College of Informatics
Department of Computer Networks
Data Structure and Algorithms
2024-2025
Classwork:
1. Create a specific scenario that needs to be done using List.
2. Create a Tester class, and try to use and test the app with all the functions.
3. Create a method to display the list of elements as a String.
4. Create a method to search for a specific element.
Lecturer: Warmn Faiq Ahmed Page 4|4
Warmn.faiq.a@spu.edu.iq