InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of using @ComponentScan in the class files? |
|
Answer» Spring BOOT application scans all the beans and package DECLARATIONS when the application initializes. You NEED to add the @ComponentScan annotation for your class file to SCAN your components added to your project. |
|