public class DepositSlot { // indicate whether envelope was received (always returns true) // because this is only a software simulation of a real deposit slot public boolean isEnvelopeReceived(){ return true; // deposit envelope was received } // end method isEnvelopeReceived } // end class DepositSlot