update,
This commit is contained in:
14
it114105/itp3914/Assignment/21-22/Node.java
Normal file
14
it114105/itp3914/Assignment/21-22/Node.java
Normal file
@@ -0,0 +1,14 @@
|
||||
public class Node {
|
||||
public Object data;
|
||||
public Node next;
|
||||
|
||||
public Node(Object data){
|
||||
this.data = data;
|
||||
next = null;
|
||||
}
|
||||
|
||||
public Node(Object data, Node next){
|
||||
this.data = data;
|
||||
this.next = next;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user