Skip to content

H-Yous/Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks

Class Persons This class will set the name, gender and Lists for Parents, Children and Spouse.

Class Family This class will utilise methods to add members to the family tree. Method1: Boolean Male(): - Will check if the person is present in tree - IF TRUE - Store person in checkPerson - Check if person's spouse is male (IF SO return false) - Check if persons gender has been assigned (IF not, assign 'Male' and return true) - ELSE - Make the person - Set gender to male Method2: Boolean Female(): - Will be the same as Male() in terms of functionality. Method3: Boolean isMale(): -Will check if the person is present in tree IF

Method4: Boolean isFemale():

Boolean setParentsOf():

String[] getParentsOf():

String[] getChildrenOf():

Boolean ishere():

Persons getPerson():

Boolean checkMaleSpouse():

Boolean isChild():

Class Main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages