Zoho interview question

Design an ATM machine using JavaCode