Categories
Java

What is IoC and DI in Java

What is Inversion of Control? As the name suggests, IoC is to Invert the control flow of a program. It is an Idea to Decouple/remove dependencies of the object and provide control to another layer(XML, Java Class, Properties,…) to instantiate required Objects. For more understanding on the above definition I’m adding below example code and […]