Write a Java program to represent a family tree. A sample family tree is shown below. The
members of the family have unique names. Every individual shall have a father and a mother.
Upon implementation of the family tree display the following. i. Display the father's name and
mother's name of an individual in the family tree. ii. Given the parent's name, display the names
of the children. iii. Determine and display if any two individuals may be siblings. iv. Display all
the ancestors of an individual in the family tree. San You are required to submit the following: i.
Explain in detail data structure concept/s implemented for given scenario. (Word document) ii.
Implement the Java classes and submit the source code (.java files). Include appropriate
comments where necessary. iii. Provide screen shot of the input and output of the applications
with description. (Word document)

Write a Java program to represent a family tree. A sample family tree.pdf

  • 1.
    Write a Javaprogram to represent a family tree. A sample family tree is shown below. The members of the family have unique names. Every individual shall have a father and a mother. Upon implementation of the family tree display the following. i. Display the father's name and mother's name of an individual in the family tree. ii. Given the parent's name, display the names of the children. iii. Determine and display if any two individuals may be siblings. iv. Display all the ancestors of an individual in the family tree. San You are required to submit the following: i. Explain in detail data structure concept/s implemented for given scenario. (Word document) ii. Implement the Java classes and submit the source code (.java files). Include appropriate comments where necessary. iii. Provide screen shot of the input and output of the applications with description. (Word document)