Direction: Choose the correct option
Q1.
What are the ways to configure Spring container?
Direction: Choose the correct option
Q2.
Which annotation marks a class as a configuration class?
Direction: Choose the correct option
Q3.
What does the @Bean annotation indicate?
Direction: Choose the correct option
Q4.
How do you enable component scanning in Java configuration?
Direction: Choose the correct option
Q5.
Which annotation is used to import another configuration class?
Direction: Choose the correct option
Q6.
What is the purpose of @PropertySource?
Direction: Choose the correct option
Q7.
Which interface can be used to access property values in Spring?
Direction: Choose the correct option
Q8.
What does @Value('${property.name}') do?
Direction: Choose the correct option
Q9.
What is the role of @Profile annotation?
Direction: Choose the correct option
Q10.
How do you activate a profile in Spring?
