From guna@andrew.cmu.edu Thu Nov 15 19:31:29 2001 Date: Mon, 12 Nov 2001 22:28:40 -0500 (EST) From: Ananda D Gunawardena To: 15-111 Section G <+dist+~guna/public/15111G.dl@andrew.cmu.edu>, 15-111 section H <+dist+~guna/public/15111H.dl@andrew.cmu.edu> Cc: Ananda D Gunawardena Subject: Test3 on line I have placed two sample problems on line (there is a link from "whats new" on course web). Please take a look. Both problems require you to complete class methods and test them out in main. I will add more problems later. Lab6 Hint: In order to change a vector element you can use: setElementAt(Object obj, int index) Sets the component at the specified index of this vector to be the specified object. from the vector class. For example to insert a Edge to the front. 1. create a new edge 2. Link this to current first 3. using setElementAt make the first entry of the vector to new edge ananda