UNB/ CS/ David Bremner/ teaching/ 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);
  }
}