title: Dependency injection of Abstract class and interface
body: <p>Can we do the dependency injection of abstract class and interface property into our desired class like below-given code?</p>
  
  <pre><code>abstract class Parent { }
  
  interface Heritage { }
  
  class Child
  {
      @Autowired private Parent parent;
      @Autowired private Heritage heritage;
  }
  </code></pre>