public class Timpani extends Percussion { /* constructors -----------------------------------------*/ public Timpani() { super(); setSticks("timpani mallets"); } /* other methods ----------------------------------------*/ /* play the instrument */ public void play() { System.out.println("hit with " + getSticks()); } /* toString create String representation */ public String toString() { return "Timpani "+super.toString(); } }