Which of the following statements is NOT true with respect to Spring’s ApplicationContext? (select one)

Which of the following statements is NOT true with respect to Spring’s ApplicationContext? (select one)
A . The ApplicationContext eagerly instantiates all singleton beans by default
B . There are many different implementation classes which all implement the ApplicationContext interface
C . When available, the close() method will cause any registered bean destruction code to be invoked
D . In a JUnit test using Spring support (with @ContextConfiguration annotation), it is necessary to close the ApplicationContext manually

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments