I want to call a super class's method through its child class in another class.
For example: a class A and its child class CA, CA override A's method f()
class A{
f();
}
class CA extends A{
@Override
f();
}
a CA's instance in class B:
class B{
CA mCA = new CA();
}
Is there a way to call the method f() of CA's super class (A) in class B? Like
mCA.super.f(); (I know its wrong)
....
Thanks for any help :)