calling method in super class using object of sub class how it work?
<pre><code>class SuperClass{  
  public void print(){
    System.out.println("I'm super class...");
  }  
  public void someMethod(){
    System.out.println("any thing");
  }
}  

class SubClass extends SuperClass{ 
  @Override
  public void print(){
    System.out.println("I'm sub class...");
  }  

  public static void main(String args[]){  
    SuperClass a=new SubClass(); 
    a.print();  
    a.someMethod();
  }  
}  
</code></pre>

<p><code>a.print()</code> known as dynamic binding and it's know which method to call in run time and choose method of SubClass because the object is SubClass it's true?</p>

<p><code>a.someMethod()</code> how JVM deal with this method it's not in sub class and the object from sub class?</p>