A talking Cow!
Now, some cows say "moo." Some cows can forecast the future ("I think I'll have... grass for lunch"). Other cows, when asked, say their name and color. Add a method called speak to the Cow class. It should say something like: |
||
|