If you have code - you can declare a method finalin your base class, then the code will not compile if you try to override the virtual method.
If you want to override it, you can try calling A :: SetStatus (); in the definition of B :: SetStatus ().
IDE , A.
" ", .