Direction: Choose the correct option
Q1.
What is a factory method in Spring?
Direction: Choose the correct option
Q2.
How do you declare a factory method in XML configuration?
Direction: Choose the correct option
Q3.
What is a static factory method?
Direction: Choose the correct option
Q4.
How do you configure a static factory method in Spring?
Direction: Choose the correct option
Q5.
What is an instance factory method?
Direction: Choose the correct option
Q6.
How do you configure an instance factory method in Spring?
Direction: Choose the correct option
Q7.
Which annotation can be used to define a factory method in Java config?
Direction: Choose the correct option
Q8.
What is the FactoryBean interface?
Direction: Choose the correct option
Q9.
Which method of FactoryBean returns the actual object?
Direction: Choose the correct option
Q10.
What is the advantage of using factory methods?
