Question: In this problem we'll add a find method to our existing SimpleLinkedList class. Create a public class FindLinkedList that extends SimpleLinkedList. Provide an instance method

In this problem we'll add a find method to our existing SimpleLinkedList class.
Create a public class FindLinkedList that extends SimpleLinkedList. Provide an instance method find that accepts an Object as a parameter and returns whether the object appears in the list. You can assume that the passed Object is not null, and that the list will not contain any null values.
As a reminder, our SimpleLinkedList is composed of a chain of Items, where Item is defined as an inner class on SimpleLinkedList:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!