Advantage of Dependency Injection


  • makes the code loosely coupled so easy to maintain
  • makes the code easy to test

Comments