I have a Dog class with a name and a breed. I want to print either the dog\'s name or its breed depending on a method parameter passed to a printDog method. How do I do that