Constructing Constructors
So far, we've been working with variables and methods; let's put a slightly different spin on things in this exercise, and add a new constructor to the Cow class.
Add a new constructor to the Cow class that takes two arguments: a name and a color. They should both be |
||
|