0 Replies Latest reply: Oct 11, 2007 11:16 AM by 843851 RSS

    what is happening overriding method  in JVM(urgent -------------------->)

      how to know , what is happeing in jvm
      abstact class abstractTest{
      public abstract void abstractmethod();
      public void method{
      System.out.println("hai i am in abstact class");

      }//end of class

      public class runClass extends abstractTest {
      pubic void method(){
      System.out.println("iam in sub clas");
      public static void main(String a[]){
      abstractTest obj = new runClass ();
      //how to call abstract class method
      obj .method();/*sub class method can recive how to call abstract method using polymorphishm*/


      }//end of main class

      --------------------urgent ----------------------------