Class with final method : final « Class « Flash / Flex / ActionScript






Class with final method

 

public class A {
  final public function m (  ) {
  }
}

public class B extends A {
}

        








Related examples in the same category

1.Preventing Classes from Being Extended and Methods from Being Overridden
2.Preventing Inheritance by using final keyword