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

Spring supports byName (A) and byType (D) autowiring modes. byName matches bean names to property names. byType matches by data type. byFields (B) and byInterface (C) are not valid autowiring modes in Spring.