UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ PeopleVec.java
import java.util.Vector;
import java.io.Serializable;
public class PeopleVec extends Vector<Person>
  implements Serializable {
  public void add(String name, int pets){
    add(new Person(name, pets));
  }
  public Person getPerson(int index){
    return get(index);
  }
}