/* 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 Vertebrate2 { private int vertebrae; public static String PLANET = "Earth"; private static int count = -1; public String name; private String species = "cat"; public Vertebrate2(String name){ System.out.println("in ctor " + count); name = name; vertebrae = 3; count++; } public Vertebrate2(int vertebrae, String n){ System.out.println("in ctor 2 " + count); this.vertebrae = vertebrae; this.name = n; count++; } public int getVertebrae(){ return vertebrae; } public int getCount(){ return count; } public int 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) System.out.println(count); Vertebrate2 lion = new Vertebrate2(33, "Larry"); System.out.println(lion.toString()); lion = new Vertebrate2(0, "Kim"); Vertebrate2 bear = new Vertebrate2(0, "Lisa"); System.out.println(lion.toString()); bear = lion; System.out.println(bear.toString()); System.out.println(lion.getSpecies()); bear = new Vertebrate2("Sam"); System.out.println(bear.toString()); System.out.println(count); } }