public class Snake extends Reptile { private double length; private boolean isVenomous; public Snake() { length = 4; weight = 30; isVenomous = false; } // If we are in a subclass, it's possible to call a function // defined in the parent class by using the word "super". public String toString() { return super.getName(); } }