I am basically trying to use my add method to add nodes together. ( similiar to a linked list) but i am not able to add my first node.. i get this error when i run the code. i am not very good at...
Type: Posts; User: b094mph
I am basically trying to use my add method to add nodes together. ( similiar to a linked list) but i am not able to add my first node.. i get this error when i run the code. i am not very good at...
and here is my Main: the line of code: list.add("bobby");
is giving me an issue.
public class LListTest {
/**
* @param args
here is the interface "ListInterface" (no issues with this part of the code) I am giving it just in case you would like to run the program yourself.
/** An interface for the ADT list.
*...
I have a interface called "ListInterface", a class called "LList" and a main "LListTest"
my an add method that is not running.
public class LList<T> implements ListInterface<T> {
private...