A* a = new B(); a->A::operator()(); (*a)();
produces ABBA
The outcome of this statement is
ABBA
.