8.22.5.When retrieving a member of a generic vector, you can reference without casting.
import java.util.Vector;
public class MainClass { public static void main(String[] argv) {
Vector<MyClass> myVec;
myVec = new Vector<MyClass>();
MyClass myClass = new MyClass();
myVec.add(myClass);