In reply to Deepthip:
Even in the above snippet I am overriding the method SetStatus in child class and the method is non virtual. But the base class method gets called with both parent and child class handles.
But not the same with first case printA method.