Yes okay but IO don't really know how to make that happen.. While loop and if statements? Im stuck and can't figure out how to write the loop for this reference node to go through the entire list.
Type: Posts; User: deeerek
Yes okay but IO don't really know how to make that happen.. While loop and if statements? Im stuck and can't figure out how to write the loop for this reference node to go through the entire list.
Yes I know that, I want to need how to write to make it deleate all duplicates
And why doesn't my printLinked "System.out.println();" work? It doesn't give me a blank line... // sorry about that, it actually does work
Why doesn't my printLinked() work after the invert() ??
And why doesn't my printLinked "System.out.println();" work? It doesn't give me a blank line...
And extra credits to anyone who can give me...
I thaught it was something like that but I can't figure out how to do it?? Brain freeeeezeee!
Ok here's my main and printlinked method:
import java.util.Scanner;
public class ListTest
{
public static void main(String []args)
{
Scanner keyboard = new Scanner(System.in);