What is dependency injection in java?



What is dependency injection in java?..

Answer / Karan Vidyarthi

Dependency Injection (DI) is a design pattern in Java that removes the need to manually create and manage dependencies between objects. Instead, the dependencies are injected into the object at runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

Why doesn't lsdou work under windows nt? : java security

1 Answers  


What is explicit casting?

1 Answers  


Is java singleton thread safe?

1 Answers  


What is java lang?

1 Answers  


What is ehcache in java?

1 Answers  


What is the use of lambda functions?

1 Answers  


What do you mean by exception handling?

1 Answers  


how can we create the ui using netbeans,having the code?

1 Answers  


What is maven in java?

1 Answers  


What is the use of rs next () in java?

1 Answers  


What is a container in java?

1 Answers  


What do I need to install netbeans?

1 Answers  


Categories