Inversion of control IOC is a generic term meaning,transfer of control from main applilcation to a container/framework , for instance rather than having the application call the methods in a framework, the framework calls implementations provided by the application.

 

Example of IOC