0% found this document useful (0 votes)
67 views4 pages

DSA NW Lab4

The document outlines Lab 4 for the Data Structure and Algorithms course at Sulaimani Polytechnic University, focusing on creating a project called 'arrayList'. It specifies the need for an interface and a class implementing that interface, along with six public methods and one protected method. Additionally, it includes classwork tasks such as creating a scenario using List, a Tester class for testing functions, and methods for displaying and searching elements in the list.

Uploaded by

Aeub omer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views4 pages

DSA NW Lab4

The document outlines Lab 4 for the Data Structure and Algorithms course at Sulaimani Polytechnic University, focusing on creating a project called 'arrayList'. It specifies the need for an interface and a class implementing that interface, along with six public methods and one protected method. Additionally, it includes classwork tasks such as creating a scenario using List, a Tester class for testing functions, and methods for displaying and searching elements in the list.

Uploaded by

Aeub omer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like