title: What happens when implementing Parent interface that declares a Nested Interface
body: <p>I searched Google but couldn't find a specific example that clears my doubt. Suppose I have a parent interface with nested interface.</p>
  
  <p>E.g </p>
  
  <pre><code>public interface A {
      .. methods
  
      interface B {
          .. methods
      }
  }
  </code></pre>
  
  <p>If a class implements interface A, what happens, does that class internally implements the nested interface B as well, that means am I supposed to override interface B's methods too?</p>