newcoder310 0 Junior Poster in Training

Hi,

Can some1 plz explain wht is the advantage of Inversion Of Control concept of Spring.
I know that there is no need to instantiate in the class and the container will do it like

Hello h = new Hello();

The above need not be given and we can simply say

Hello h;

We can directly set hello ... But what is the advantage of doing this?


Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.