Hexaware Technologies Interview Question

How to implement dipendency inversion