The Postman Always Rings Twice

public abstract class HouseCaller
{
    public void ring()
    {
        System.out.println( "Hello! It's the " + this.getClass().getSimpleName() + "." );
    }
}

public class Postman extends HouseCaller
{
    public final void ring()
    {
        super.ring();
        super.ring();
    }
}
Vote up this code0