Created
October 9, 2012 06:34
-
-
Save bkleinen/3856996 to your computer and use it in GitHub Desktop.
Info3Ex1aNode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package deletenode; | |
public class Node { | |
Node next; | |
Object data; | |
public Node(Object data, Node next) { | |
this.data = data; | |
this.next = next; | |
} | |
public Node(Object data) { | |
this.data = data; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment