People are different. And each person differs in significant ways. Suppose we have a newborn who has only a name and a mother. Or suppose we have a musician that prizes his band and his ability to perform. Let's write a Human class with 6 fields and come up with 10 different constructors for it. Each constructor should make sense.
Human class constructors
You must be signed in to leave a comment
This page doesn't have any comments yet