Getting rid of Node
Okay, so it has became apparent that i am having issues with null pointer errors and some node issues. I have a feeling that these are all stemming from how you "Delete" a node after you use it. If anyone has suggestions for how to go about that, or could clarify how to get the "Garbage Collector" to clean them up for me. I understand that its when the a node is no longer referenced it disappears, im just confused on what constitutes not referenced anymore. FYI Im using a singly linked list.
Any pointer will be much appreciated.
Re: Getting rid of Node
Can you please provide an example of the null pointer errors you are receiving.