joeymejias / linked-list-lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title type duration creator
Lists - School
lab
1:25
name city
Josh Bartz
Missoula

Lists - Schools

Introduction

Note: This lab should be completed in pairs.

In this lab, you will be creating a simple LinkedList. After the basics of the List are finished, you will create a "School" filled with students.

Use your LinkedList and java.util.ArrayList to complete the tasks in the commented sample code.

Exercise

Requirements

  • Complete the MyLinkedList.java file (excluding the Iterator)
  • Complete the Driver.java file
  • Correctly determine when to use a LinkedList or an ArrayList

Bonus:

  • Complete the Iterator
  • Complete the second add method

Starter code

In the starter-code folder, you will find a Node class and the beginnings of a LinkedList. You will also find a Driver class that contains instructions for how to interact with the Students in the school.

Deliverable

A simple Java program that completes the instructions in Driver.java

Additional Resources

About


Languages

Language:Java 100.0%