Accion Labs interview question

How call back is working in java?