import java.util.Vector ; public class Person { Person father ; Person mother ; Vector children ; private String name ; public Person(String name) { this.name=name ; mother=father=null ; children=new Vector() ; } /** * Link together all members of a family. * * @param fa the father * @param mo the mother * @param chs the children */ public static void linkFamily(Person fa,Person mo,Person[] chs) { int len=chs.length ; for(int i=0 ; i