Loading
Dependency injection

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  What is dependency injection or Inverse of Control ?


Ans)

Inversion of Control (IoC) is an object-oriented
programming practice where the object coupling is bound at run time by an assembler
object and is typically not known at compile time using static analysis.

These Objects can be obtained by means of Dependency lookup or Dependency injection.
Dependency lookup is a pattern where a caller asks the container object for an
object with a specific name or of a specific type.
Dependency injection is a
pattern where the container passes objects by name to other objects,
via either constructors, properties, or factory methods.



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Dependency injection


Dependency injection

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free