Meet The Bears. Bears implement the Bear
interface and extend AbstractBear
. They can all roar
and in fact they do roar every time they are constructed.
public interface Bear
{
public void roar();
}
public abstract class AbstractBear implements Bear
{
public String howIRawr = "ROAR.";