Question: 1 . The LinkedList.java file presents the interface for the SList.java class. ( a ) Provide an implementation for a findIndex method in the SList.java

1. The LinkedList.java file presents the interface for the SList.java class.
(a) Provide an implementation for a findIndex method in the SList.java class
public int findIndex (int elem)
that returns the position of a specific element if it is a member in the list, otherwise it will return (-1).(3 points)
(b) Provide an implementation for the removeLast method in the SList.java class

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 Databases Questions!