Search:

Type: Posts; User: mia_tech

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    is this what you mean?


    public String toString()
    {
    return this.value.toString()+ " " + this.next.toString();
    }
  2. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    never mind... I figured it out!
  3. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    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...
  4. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    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;

    ...
  5. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    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...
  6. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    it is a singly list, because it only contains the data, and the link to the next node
  7. Replies
    14
    Views
    1,436

    [SOLVED] Re: need help implementing LinkedList

    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...
  8. Replies
    14
    Views
    1,436

    [SOLVED] need help implementing LinkedList

    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...
Results 1 to 8 of 8