The "Man's Best Friend" Bureau has decided to conduct a full census of Terra's dog population. To do this, they need an application that has a special Dog class. The only thing we can learn (or assign) about some dogs is a name. For other pooches, we also know the height. Finally, complete information about other dogs also includes color. This means that we need three initializers.
Create a Dog class
You must be signed in to leave a comment
5 January 2020, 15:04
Nie wiem co robię źle?
18 December 2019, 21:13
what I'm doing wrong - I don't understand, it compiles