A classical example for understanding 
the difference between implementing
an interface and extending a class Java