title: Class both extends an abstract class and implements an interface
body: <p>What if I have a class that both extends an abstract class and implements an interface, for example:</p>
  
  <pre><code>class Example : AbstractExample, ExampleInterface
  {
      // class content here
  }
  </code></pre>
  
  <p>How can I initialize this class so I can access methods from both the interface and the abstract class?</p>
  
  <p>When I do:</p>
  
  <pre><code>AbstractExample example = new Example();
  </code></pre>
  
  <p>I cannot access methods from the interface.</p>