Hello, deven1974
Lets start:
1. Illegal use of data and datatypes:
public void remove(E data) {
E.data = null;
if (head != null)
temp = head.data;
head = head.next;
return temp;
}
It is equal, if you write this
String s;
String.s = null;
2. You didn't declare variable temp, but use it.
3. Why are you setting your just entered parameter no null and the working with it?
Last edited by cscgal; Nov 21st, 2008 at 8:36 pm. Reason: Fixed code tag
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal