Originally Posted by anamericancer
//This program will check if Allie is worthy. The worthiness depends on the
//implementation of your system. Refer to your system manual for details. If
//Allie is worthy, Yusef will remove himself from the world.
Girl allie=new Girl("Dra","unkool");
Boy yusef=new Boy("Yuse","just plain fly");
//If the greatBoon method is false, the check method will return a
//boolean stating if the allie object is sad or not.
//However, if the greatBoon method is true, the check method will
//return a boolean stating if the yusef object is alive or not.
public boolean check()
else if (allie.greatBoon)