Direction: Choose the correct option
Q1.
What is autowiring in Spring?
Direction: Choose the correct option
Q2.
Which modes of autowiring are available in XML configuration?
Direction: Choose the correct option
Q3.
What is the default autowiring mode in modern Spring (annotation-based)?
Direction: Choose the correct option
Q4.
How does autowiring 'byName' work?
Direction: Choose the correct option
Q5.
What happens if autowiring 'byType' finds multiple beans of the same type?
Direction: Choose the correct option
Q6.
Which annotation enables autowiring in Spring?
Direction: Choose the correct option
Q7.
What is the difference between @Autowired and @Resource?
Direction: Choose the correct option
Q8.
Can autowiring be used on methods?
Direction: Choose the correct option
Q9.
What is the purpose of @Autowired(required=false)?
Direction: Choose the correct option
Q10.
Which annotation can be used to inject a bean by its name?
