title: 'this' & 'super' keyword usage in Java
body: <p>While we are using this/super to call any non static members of a class, JVM creates any object for the corresponding class.</p>
  
  <p>And if I am changing any non static variable in super class using 'super', this  change is also getting reflected in subclass.</p>
  
  <pre><code>class A
  {
      int i;
  }
  class Test extends A {
      void test()
      {
          super.i = 10;
          this.i = 8;
          System.out.println("super.i = " + super.i);
          System.out.println("this.i = " + this.i);
      }
      public static void main(String[] args) {
          Test obj = new Test();
          obj.test();
      }
  }
  </code></pre>