Question: Write a complete program (Java) to keep track of people and their possible marriages. People have a name (you decide the format), age, and sex.
Write a complete program (Java) to keep track of people and their possible marriages. People have a name (you decide the format), age, and sex. Two people over the age of 18 may get married if neither one is married currently. Marriages can be annulled or ended any time after which people can marry again. Decide what classes you need first. It is helpful to ask what are the key nouns in the system requirements?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
