Search:

Type: Posts; User: thedolphin13

Search: Search took 0.09 seconds.

  1. Replies
    11
    Views
    2,351

    Re: LinkedList Objects

    I used the # tag for code...what do you use for java to get the color?
  2. Replies
    11
    Views
    2,351

    Re: LinkedList Objects

    Thank you so much! I'm on the right track now...man...Thank you! Ignore the code below, just wanted to put a tag around it. Again...thank you.


    import java.io.*;
    import java.util.*;
    public...
  3. Replies
    11
    Views
    2,351

    Re: LinkedList Objects

    Sorry about the TAGS, don't know how to do that. When run, Eclipse:
    Exception in thread "main" java.lang.NullPointerException
    at TestLinkedList.getListFrom(TestLinkedList.java:39)
    at...
  4. Replies
    11
    Views
    2,351

    Re: LinkedList Objects

    OK, I see that when I use the word static, the method becomes part of the class and is not independent objects. But when I remove static, I get a null pointer exception...why did that happen? Here is...
  5. Replies
    11
    Views
    2,351

    Re: LinkedList Objects

    OK, so if I declare the instance variable as:
    IntLinkedList list;

    How do I, for example, get the size as the project constraint for the size method is:
    public int size(){
    }//end size
    ...
  6. Replies
    11
    Views
    2,351

    LinkedList Objects

    Hi all, I'm creating a LinkedList...I've removed most unnecessary code for simplicity. Here's what I expect to happen. I create a list opject, populate it with an item, get the size (which is 1) the...
Results 1 to 6 of 6