Spring Annotations

Learn about a few interview questions regarding Spring annotations.

What is the purpose of the @Component annotation?

@Component annotation is used to define a bean. This annotation is placed on a Java class. The XML file contains the ...

Access this course and 1400+ top-rated courses and projects.