is this what you mean?
public String toString()
{
return this.value.toString()+ " " + this.next.toString();
}
Type: Posts; User: mia_tech
is this what you mean?
public String toString()
{
return this.value.toString()+ " " + this.next.toString();
}
never mind... I figured it out!
ok, I changed it around to fit the exercise, but still I'm not displaying anything to screen. I presume that my problem is either in the "add" or "display" method of my LinkedList class
public...
this is what I implemented so far and the tester too.... you guys tell me if I'm on the right track
public class Node {
//construct student object
public Student value;
...
no there are no overloads, but I'm kind of confuse as to what should include. I know linklist is compose of nodes(data, link), so the constructor should initialize the data and the link? I don't see...
it is a singly list, because it only contains the data, and the link to the next node
after reading your post kind of have an idea on how to implement the node constructor; however, I'm still in doubt how to create the link to the next node... given my class. And how would I test...
hi guys, I know how LinkedList works, but I've been given classes and methods headers to implement LinkedList, and I need a bit of help with this. Basically consist of three classes Students(which...