Run Time Type Identification in Java
<p>Consider a super class reference variable is holding the reference of a sub class object and that particular sub class overrides one of its super class method. Now , if we invoke the overridden method , the sub class implementation will be called. In Java does this involve RTTI ..?</p>

<pre><code>class A { void Show(){ System.out.println("This is A"); } }

class B extends A{
    void show(){
        System.out.println("This is B");
    }
}
</code></pre>
