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

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.