Let’s say you want to assign a number as well as a name to each species
in the world, perhaps to make it easier to catalog them. Modify the
definition of the class SpeciesFirstTry in Listing 5.3 so that it allows for
a number. The number is to be of type int. (hint: You mostly just have to
add stuff.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here