Saved Bookmarks
| 1. |
Explain inversion of control. |
|
Answer» IoC (Inversion of Control), as the name suggests, is a DESIGN principle in software engineering. With IoC, different kinds of controls can be inverted in an object-oriented design to attain loose coupling. The term "controls" refers to any other responsibilities a CLASS may have other than its primary responsibility. These include controlling the flow of an application, controlling the creation of objects, or controlling the binding and creation of dependent objects. IoC allows CLASSES to be loosely coupled, MAKING testing and maintenance easier. |
|