@Configuration public class AppConfig { @Bean public ClientService clientService()
{ ClientServiceImpl clientService = new ClientServiceImpl() ;
ClientService.addClientDao(new ClientDao() ) ;
Return clientService; }
In the example above, which statement is NOT true with regards to Spring Java configuration? (select one)
A) The declared bean is a singleton by default
B) This bean might be wrapped by a proxy
C) This bean cannot use a method starting with "add" to inject a dependency
D) The bean is of type ClientService
Correct Answer:
Verified
Q11: Which of the following statements is NOT
Q12: Using Spring AOP, which of the following
Q13: Which of the following statements about Spring's
Q14: What is true regarding bean definition inheritance?
A)
Q15: Consider the following complete configuration sample:
< bean
Q17: Which of the following statements best describes
Q18: What is the primary purpose of bean
Q19: Which of the following statements about the
Q20: Which of the following statements is NOT
Q21: Which of the following statements defines an
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents