title: Java method returning memory address
body: <p>the following function returns a memory address instead of the actual Node its supposed to, any input?:</p>
  
  <pre><code>public Node getNode(){
      Node nextnode = new Node(this.title, this.disX, this.disY);
      return nextnode;
  }
  </code></pre>
  
  <p>When called such as:</p>
  
  <pre><code>AcNode aNode = new AcNode("Test", 0.5, 0.6)
  System.out.println("See next node" + aNode.getNode());
  </code></pre>
  
  <p>AcNode is a subclass of Node, using the same constructor as a super. Any help?</p>