1.

What Are The Advantages Of Setter Dependency Injection?

Answer»

Here are a few advantages of Setter:

  1. Natural for Java Beans
  2. AVOIDS OVERLY long constructors
  3. Can be INHERITED
  4. Easier to UNDERSTAND in that properties have names
  5. Constructor args don't have names

Here are a few advantages of Setter:



Discussion

No Comment Found