BAE Systems Interview Question

How do you implement IoC pattern