I have two classes A and B. 'A' consists of a method map() which is overridden in class B. And In the main class, I'm creating an object for class 'B'. And I want to call map() of class 'A'. Is there any way to achieve this??

I've tried using a super keyword, but it didn't work.

```
class Parent { 
    void Print() { 
        System.out.println("parent class"); 
    } 
} 

class subclass1 extends Parent {
    @Override   
    void Print() 
    { 
        System.out.println("subclass1"); 
    } 
}
public class Example1 { 
    public static void main(String[] args) 
    { 
        Parent a;
        a = new subclass1(); 
        a.Print();
        super(a).Print();
    } 
}

```