0 votes
in Spring by

In which of the following scenarios would the @Qualifier annotation be particularly useful?

a) When you have a single bean implementation

b) When you have multiple bean implementations for an interface and want to specify which one to use

c) When you want to define a new bean

d) When you want to destroy a bean

1 Answer

0 votes
by
b) When you have multiple bean implementations for an interface and want to specify which one to use

Explanation:

@Qualifier is used to resolve the ambiguity when multiple beans of the same type exist and one needs to be chosen for autowiring.
...