/* CSE 142, Autumn 2007, Marty Stepp White rabbits are like regular rabbits, but white in color; they also move in a "hopping" pattern, but they go up-down and right by 10. */ import java.awt.*; public class WhiteRabbit extends Rabbit { public Color getColor() { return Color.WHITE; } // This method overrides the getBounceHeight method in Rabbit, // so that the white rabbit will bounce higher. public int getBounceHeight() { return 10; } }