this is my first time on this board, so hi. :p
I'm currently learning basic java in college and I need some help.
I have a constructor for my Node class and I've linked 3 string nodes together and I need to print them in order. So far I got this:
for (Node node = node1; node != null; node = node.nextnode)
{
System.out.println(node);
}
but that just prints out the memory address, how do I make it print out the string I assigned to them? thanks