UNB/ CS/ David Bremner/ teaching/ java/ Person.java
import java.io.Serializable;
public class Person implements Serializable {
    private String myName;
    private int myPets;
    public String toString(){
        return "Person [ name = " + myName +
            "; pets="+myPets+" ]";
    }
    public Person(String name, int pets){
        myName=name;
        myPets=pets;
    }
}