// element of circular linked list

public class Node
{
    public Node (int value)
    {
        _value = value;
    }

    public final int getValue ()
    {
        return _value;
    }

    public final void setNext (Node n)
    {
        _next = n;
    }
    
    @Override
    public String toString ()
    {
        return "Node: "+_value;
    }

    private int _value;
    private Node _next;
}
@@ -175,32 +175,104 @@
  _value;%0A    %7D%0A%0A
+    public final Node getNext ()%0A    %7B%0A        return _next;%0A    %7D%0A    %0A
     public final

Update Node.java