I used the # tag for code...what do you use for java to get the color?
Type: Posts; User: thedolphin13
I used the # tag for code...what do you use for java to get the color?
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...
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...
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...
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
...
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...