Why do we use annotations?



Why do we use annotations?..

Answer / Pooja Singh

We use annotations in Spring Framework to provide metadata about the components and their roles, making it easier for the container (Spring Application Context) to manage dependencies and handle the lifecycle of the beans.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What do you mean by aspect oriented programming (aop)?

1 Answers  


Does spring boot need tomcat? : Spring Boot

1 Answers  


What are important spring projects?

1 Answers  


What is aop module?

1 Answers  


What does pojo mean?

1 Answers  


What does the joint point denote?

1 Answers  


What is a profile in spring boot? : Spring Boot

1 Answers  


On what basis is a view chosen in the rendering phase?

1 Answers  


What do you mean by viewresolver in spring?

1 Answers  


Does ef core support lazy loading?

1 Answers  


What is spring boot and spring mvc? : Spring Boot

1 Answers  


In scenarios where you have to avoid using auto wiring, what are the other options that can be explored to achieve the same?

1 Answers  


Categories