2 Comments

  1. Alan

    Then if you try the following:

    ClassA clazz = new ClassB();
    clazz.hello();

    it will print hello method from ClazzA

    Reply

Leave a Reply