Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Represents the deposit slot of the ATM
- */
- public class DepositSlot
- {
- public DepositSlot() {
- }
- // indicates 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement