Direction: Choose the correct option
Q1.
What is the default scope of a Spring bean?
Direction: Choose the correct option
Q2.
Which scope creates a new bean instance for each request?
Direction: Choose the correct option
Q3.
Which scope is available only in web-aware Spring applications?
Direction: Choose the correct option
Q4.
What is the request scope?
Direction: Choose the correct option
Q5.
Which annotation is used to specify bean scope?
Direction: Choose the correct option
Q6.
What is the behavior of a singleton bean in Spring?
Direction: Choose the correct option
Q7.
What is a potential issue with injecting a prototype-scoped bean into a singleton bean?
Direction: Choose the correct option
Q8.
How can you overcome the prototype-in-singleton issue?
Direction: Choose the correct option
Q9.
Which scope is similar to singleton but for the entire ServletContext?
Direction: Choose the correct option
Q10.
What is the websocket scope used for?
