What is wrong with a program that starts as follows? (The class Species is
defined in Listing 5.19 in Chapter 5.)
public class SpeciesDemo
{
public static void main(String[] args)
Species s1 = null;
Species s2 = null;
s1.setSpecies("Klingon Ox", 10, 15);
s2.setSpecies("Naked Mole Rat", 10000, 25);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here