Multiple choice technology web technology

Identify the two valid modes of auto wiring

  1. byName

  2. byFields

  3. byInterface

  4. byType

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

In Spring Framework, autowiring can be done 'byName' (matches bean name to property name) or 'byType' (matches bean type to property type). These are the two standard autowiring modes. byFields and byInterface are not valid autowiring modes in Spring.