title: What will be the value of static variable flag?
body: <pre><code>public class A{
      private static flag;
  
      public void count(){
          flag++;
      }
  }
  
  public class B extends A{
      public void count(){
          super.count();
      }
  }
  
  public class C extends A{
      public void count(){
          super.count();
      }
  }
  
  }
  
  public class D extends A{
      public void count(){
          super.count();
      }
  }
  </code></pre>
  
  <p>Lets us suppose my classes are executed in the following manner
  class B
  Class C
  class D</p>
  
  <p>Now i want to know that what will be the value of flag instance variable
  after Class D count method</p>