/** * Write a description of class CyberPet here. * * @author (your name) */ public class CyberPet { // instance variables - replace the example below with your own private boolean isSleeping = true; private boolean isEating = false; /** * */ public void sleep() { isSleeping = true; isEating = false; } public void eat() { isEating = true; isSleeping = false; } public boolean getIsSleeping() { return isSleeping; } public boolean getIsEating() { return isEating; } }