Accion Labs Interview Question

How call back is working in java?