Question | Answer |
public class Nodo { } | private int elem; private Nodo sig; |
contructor nodo | public Nodo(int e, Nodo n) { elem = e; sig = n; } |
getElem(){ } | public int getElem() { return elem; } |
getSig() { } | public Nodo getSig() { return sig; } |
setElem( ) { } | public void setElem(int nuevoElem) { elem = nuevoElem; } |
setSig( ) { } | public void setSig(Nodo nuevoSig) { sig = nuevoSig; } |
Want to create your own Flashcards for free with GoConqr? Learn more.