how to delete objects?
<p>I have two classes:</p>

<pre><code>Class Node {
int address
}
Class Link{
  int latency;
  int bandwidth;
  Node node1;
  Node node2;
  }
public Link [] link= new Link[Nmax];     
</code></pre>

<p>if I want to create a link between two nodes, it is easy, I've just to:</p>

<pre><code>node1=new Node(); //and then I add parameter like address and so on
node2= new Node();//...............
link[1]= new Link();
link[1].node1=node1;
link[1].node2=node2;
link[1].latency=15; //and so on, we suppose that we have 100 nodes and 60 links
</code></pre>

<p>Now, during the program, sometimes we add some new nodes then we have to add links between them, I can do this with the same manner us above, my question is:
 what I have to do if I want to delete a node ? (links between this node and other existing nodes must be deleted too)</p>
