Constructors


1. Finish this constructor


public class WhiteBoardMarker {

       private int inkLeft;

       private String color;



      public WhiteBoardMarker ( _____________________________________________________ ) {







}


2. Make a constructor for the Dinosaur class.


public class Dinosaur {

       private String species;

       private boolean carniverous;

       private int yearExtinct;











}


3. Fix any problems with the following constructors.


class Hell {

      void Hell(int hotness) {



      }

}

public class Bacon {

      String style = "streaky";

      Bacon (String style) {
            style = style;
      }

}

public class Unicorn {


      private Unicorn() {
            this.horns = 1;
      }

}

class Narwhal {

      public Narwhale(){}

}