Dog shelter

Report a typo

You've been asked to help out at a dog shelter. You need to write a program to store information about new dogs that are coming to the shelter. It should be a data class DogData with three attributes: name, age and breed. Since many dogs don't belong to a specific breed, the breed attribute should have a default value mixed breed. Choose the correct way to do it.

Select one option from the list
___

Create a free account to access the full topic