Main method.
Vector source = new Vector();
source.add("O'Reilly");
source.add("XML");
source.add("Java");
System.out.println("Original Vector");
System.out.println(source.toString());
// -- Try the first method.
someMethod(source);
System.out.println("After first method.");
System.out.println(source.toString());
// -- Try the second method.
someOtherMethod(source);
System.out.println("After second method.");
System.out.println(source.toString());