{"id":2384,"date":"2025-07-12T05:31:05","date_gmt":"2025-07-12T05:31:05","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.in\/?p=2384"},"modified":"2025-07-12T05:31:23","modified_gmt":"2025-07-12T05:31:23","slug":"what-is-dependency-injection","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2025\/07\/12\/what-is-dependency-injection\/","title":{"rendered":"What is Dependency Injection?"},"content":{"rendered":"\n<p><strong>English:<\/strong> Dependency Injection is a design pattern that allows class dependencies to be injected at runtime.<\/p>\n\n\n\n<p><strong>Hindi:<\/strong> Dependency Injection ek design pattern hai jisme class ke andar jarurat ki cheezein (dependencies) runtime par di jaati hain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>English: Dependency Injection is a design pattern that allows class dependencies to be injected at&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[36],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2384"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=2384"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2384\/revisions"}],"predecessor-version":[{"id":2385,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2384\/revisions\/2385"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=2384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=2384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=2384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}