Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Author : YogaOcean
- * Date : 04-Des-2016
- * Program : DepositSlot class (part of ATM case study)
- */
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement