/* Examine the code below, and answer the questions in the main method. Then, trace through the code to determine what the main method would print. */ public class Vertebrate { private int vertebrae; public static String PLANET = "Earth"; private static int count; public String name; private String species; public Vertebrate(String name){ System.out.println("in ctor 1"); this.name = name; count++; } public Vertebrate(int vertebrae, String n){ System.out.println("in ctor 2"); vertebrae = vertebrae; name = n; count++; } public int getVertebrae(){ return vertebrae; } public int getCount(){ return count; } public void setCount(int c){ count = c; } //public static String getname(){ //won't compile // return name; //} public static String getPLANET(){ return PLANET; } public String getSpecies(){ return species; } public String toString(){ return vertebrae + " " + PLANET + " " + count + " " + name; } public static void main(String[] args){ //The method defined on line 42 won't compile. Why not? //what is the output (assume no compilation errors) Vertebrate lion = new Vertebrate(33, "Larry"); System.out.println(lion.toString()); lion = new Vertebrate(0, "Kim"); Vertebrate bear = new Vertebrate(0, "Lisa"); System.out.println(lion.toString()); bear = lion; System.out.println(bear.toString()); System.out.println(lion.getSpecies()); bear = new Vertebrate("Sam"); System.out.println(bear.toString()); } }