public class DukeStudent extends Student
{
    // constructor
    public DukeStudent (String name)
    {
        super(name);
    }


    // accessors
    public String getName ()
    {
        return "Duke " + super.getName();
    }


    // behaviors
    public void play ()
    {
        myEnergy -= 10;
        System.out.println("  work hard/play hard");
    }

    public void eat ()
    {
        System.out.println("  chick fil' a-gain!!");
        super.eat();
    }

    public void live ()
    {
        super.live();
        play();
    }
}

