Question: Hello i need help with this java project. Use eclipse for the software. Any help is appreciated.Show screenshot of it working in eclipse, so when

Hello i need help with this java project. Use eclipse for the software. Any help is appreciated.Show screenshot of it working in eclipse, so when i do it, i know what to expect.Hello i need help with this java project. Use eclipse for the

Heres code for LLStringNode.java

package movieList;

public class LLStringNode {

private String info;

private LLStringNode next;

public LLStringNode(String info) {

this.info = info;

next = null;

}

public void setInfo(String info) {

this.info = info;

}

public String getInfo() {

return info;

}

public void setNext(LLStringNode next) {

this.next = next;

}

public LLStringNode getNext() {

return next;

}

}

Heres code for MovieListInterface.java

package movieList;

public interface MovieListInterface {

void add(String movie);

boolean onThisList(String movie);

}

MovieListinterface.java specifies a Java interface for an ADT that maintains a list of movie titles. This interface includes two operations: add(String movie) - add a movie title to the list onThisList(String movie) check if a given movie title is on the list Develop three implementations of this interface, each with a different underlying data structure: Array Linked list ArrayList from the java.util package Each implementation is a separate class, and each of these classes is to include a toString0 method to list out the movies, one title per line. The source code for the interface is provided in the movielist package in the attached Eclipse project export file for this assignment. The linked list implementation must use the LLStringNode.java class provided in the movieList package; do not use the LinkedList class from the java.util package. To earn full credit you must make use of appropriate ArrayList methods to efficiently develop the movie list ADT based on that data structure, along with an enhanced for loop to traverse the list of movie titles for the toString) method. In addition to the three ADT classes, create a Java program - i.e., a Java class with a main) method - to test each of the implementations. For each implementation: Instantiate a list object and add the titles of seven of your favorite movies Using System.out.println0, display the list of movies Use the onThislist) method to test whether Chariots of Fire is on your list, and report out the result and Use the onThisList0 method to test another title, and report out that result make sure to use a title that produces the opposite result from the first test

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!