import java.util.Vector; /** This class tests the use of vectors *@author Daryl Moulder *@version 1.0 */ public class VectorTest { private Vector aVect; /** This method is the main method *@param StringArray[] some command line arguments in an array */ public static void main (String[] args) { VectorTest me = new VectorTest(); } /** This method creats a new vector puts in a test object and tests to see if it is there. */ public VectorTest() { aVect = new Vector(); String test = "test"; aVect.addElement(test); System.out.println(aVect.contains(test)); } }