What is dependency injection(ioc) in spring?
Answer / Raghvendra Vikram Yadav
Dependency Injection (DI) or Inversion of Control (IoC) in Spring is a design pattern that allows dependencies to be injected into objects, rather than the object creating or managing its own dependencies. This promotes loose coupling and makes code more modular, testable, and easier to maintain.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is meant by dao? : Spring Boot
Explain the different modes of auto wiring.
How does aop work in spring?
What is the difference between the @component, @repository and @service annotations in spring?
What is the use of beanpostprocessor in spring?
What is the use of @bean in spring?
Does closing connection close resultset?
What is jpa in spring boot? : Spring Boot
How to upload file in spring mvc application?
What is front controller in spring?
What is the difference between dao and repository?
How you will decide when to use prototype scope and when singleton scope bean?