class MugK extends CupK {
    static final int volume = 250;
    
    // default constructor -- added by javac
    // MugK(/*MugK this*/) {
    //     super();  // superclass constructor invocation
    // }
    
    void fill() {
        amount = (int)(ratio * volume);
    }
    String status() {
        return "amount=" + amount +
               (drinker=='\0' ? "" : " drinker="+drinker);
    }
}
