Extending classes question

i have class A.

it uses this code:

public function SideModule() {
      if (stage) {
    init();
   } else {
    addEventListener(Event.ADDED_TO_STAGE, init   }
  }
   
  private function init(e:Event = null):void {
   if (e)     removeEventListener(Event.ADDED_TO_STAGE, init);
 
addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageHandler);
 

so added to stage and removed from stage.

if i extend this class with class B (class B extends class A) how willi get this events in class B?

do i need to register from there as well?