This repository acts as a personal archive for my solutions to EdX course *Data Structures and Software Design* from PennX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
238 B

public class Node {
protected String element;
public Node(String element) {
this.element = element;
}
public String getElement() {
return element;
}
public String toString() {
return element;
}
}