What are the advantages of setter dependency injection?

Submitted by: Administrator
Here are a few advantages of Setter:
☛ Natural for Java Beans
☛ Avoids overly long constructors
☛ Can be inherited
☛ Easier to understand in that properties have names
☛ Constructor args don't have names
Submitted by:

Read Online JMX Job Interview Questions And Answers