Consider the class Species in Listing 5.19 of Chapter 5. It has a method
called setSpecies that sets the name, population, and growth rate of
a species. Could this class have another method setSpecies that has
only one parameter for the name of the species and that sets both the
population and the growth rate to zero? If so, give the definition of this
other method named setSpecies.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here