Hi all
I have a very general question, In Spring why do we Autowire an interface and not implementation class?
Thank you
Zed
Printable View
Hi all
I have a very general question, In Spring why do we Autowire an interface and not implementation class?
Thank you
Zed
Anyone ???
Hmm friend as far as I am concerned it is an interface rather than a class so that you can wire it in a different implementation, that is not possible with class.