title: How to access nested class B in an interface?
body: <pre><code>interface C {
      class B {
          void run() {
              System.out.println("nested class run method");
          }
      }
  }
  
  public class MainClass {
      public static void main(String[] args) {
      }
  }
  </code></pre>
  
  <p>How to access the run method in class B in interface C?</p>