0 votes
in Spring by

Which of the following is responsible for instantiating beans in Spring?

a) BeanFactory

b) ApplicationContext

c) Both a & b

d) None of the above

1 Answer

0 votes
by
c) Both a & b

Explanation:

Both BeanFactory and ApplicationContext are part of the Spring IOC container and are responsible for instantiating beans. However, ApplicationContext provides more advanced features.
...