Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. /**
  2. * Author : YogaOcean
  3. * Date : 04-Des-2016
  4. * Program : DepositSlot class (part of ATM case study)
  5. */
  6. public class DepositSlot
  7. {
  8. // indicate whether envelope was received (always returns true)
  9. // because this is only a software simulation of a real deposit slot
  10. public boolean isEnvelopeReceived(){
  11. return true; // deposit envelope was received
  12. } // end method isEnvelopeReceived
  13. } // end class DepositSlot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement