[Solved]Write Family Database Program Create Class Represent Person Store References Person S Moth Q37100827
Write a family database program. Create a class to represent aperson and to store references to the person’s mother, father, andany children the person has. Read a file of names to initialize thename and parent– child relationships of each Person. (You mightwish to create a file representing your own family tree.) Store theoverall list of Persons as an ArrayList. Write an overall main userinterface that asks for a name and prints the maternal and paternalfamily line for that person.
Here’s a hypothetical execution of the program, using as aninput file the line of English Tudor monarchs:
Write a family database program. Create a class to represent aperson and to store references to the person’s mother, father, andany children the person has. Read a file of names to initialize thename and parent– child relationships of each Person. (You mightwish to create a file representing your own family tree.) Store theoverall list of Persons as an ArrayList. Write an overall main userinterface that asks for a name and prints the maternal and paternalfamily line for that person.
Here’s a hypothetical execution of the program, using as aninput file the line of English Tudor monarchs:
Person’s name? Henry VIII
Maternal line:
Henry VIII
Elizabeth of York
Paternal line:
Henry VIII
Henry VII
Children:
Mary I
Elizabeth I
Edward VI
Expert Answer
Answer to Write a family database program. Create a class to represent a person and to store references to the person’s mother, f… . . .
OR

