<< Prev Question Next Question >>

Question 14/20

If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (20q)
Question 1: Refer to the exhibit. (Exhibit) How can a response status co...
Question 2: Which two statements are true regarding a Spring Boot-based ...
Question 3: Which following statements are true about Spring Data? (Choo...
Question 4: Which strategy is correct for configuring Spring Security to...
Question 5: Which two statements are true regarding storing user details...
Question 6: Which statement about @TestPropertySource annotation is true...
Question 7: Which three types of objects can be returned form a JdbcTemp...
Question 8: Which two statements are true about Spring Boot and Spring D...
Question 9: Refer to the exhibit. (Exhibit) Based on the default Spring ...
Question 10: Which two statements are correct regarding the @EnableAutoCo...
Question 11: Which two statements are true regarding @DataJpaTest? (Choos...
Question 12: Which two statements are true regarding Spring and Spring Bo...
Question 13: Which two statements are true about @Controller annotated cl...
Question 14: If a class is annotated with @Component, what should be done...
Question 15: Refer to the exhibit. (Exhibit) Which option is a valid way ...
Question 16: Which two options are REST principles? (Choose two.)...
Question 17: Which two statements about the @Autowired annotation are tru...
Question 18: Spring Boot will find and load property files in which of th...
Question 19: Which two options are valid optional attributes for Spring's...
Question 20: Which statement is true about the @PropertySource annotation...