Lab 5: Linked Lists

Due Date and Submission Requirements


The goal of this lab is:


Directions




You will be writing a LinkedList that holds information about movies and their release date. First, define the Node class. Each Node (movie) will have a title, and a release date. Remember that each Node must also keep track of the node that comes next. Then, download Lab5Demo.java, and supply the missing functions inside the SinglyLinkedList class.
In class, we wrote a singly linked list that kept track of the head node (the first node in the linked list). In this assignment, your linked list will need to keep track of the head node, and the tail node (the last node in the linked list)

Here is an image of how the linked list looks.


In the SinglyLinkedList class, you must write the following methods

Rules

You are NOT allowed to import java.util.LinkedList;

Starting Code

Hints

Required Output

When your program is run, your output should look exactlythe same as seen in this screenshot .

Grading (10 points)



Deductions
  • -10 points if you dont use a Linked List