Repeat the previous question for a method setSpecies that sets only the
name of the species, not any other instance variables.
Still considering the class Species in Listing 5.19 of Chapter 5, could
both of the methods named setSpecies defined in Self-Test Questions
35 and 36 of this chapter be added to the class Species?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here