HashedIn by Deloitte interview question

Make an ATM program in java