This document describes a Linked List class that implements a ListInterface. The Linked List class contains methods like add, remove, display and numberOfElements. It uses Node objects with references to the next Node. The add method adds a new node to the head of the list. The remove method removes a node at a given position. The display method prints all elements by traversing from head to tail. The numberOfElements method counts the nodes and returns the size of the list.
This document describes a Linked List class that implements a ListInterface. The Linked List class contains methods like add, remove, display and numberOfElements. It uses Node objects with references to the next Node. The add method adds a new node to the head of the list. The remove method removes a node at a given position. The display method prints all elements by traversing from head to tail. The numberOfElements method counts the nodes and returns the size of the list.