Preventing Classes from Being Extended and Methods from Being Overridden : final « Class « Flash / Flex / ActionScript






Preventing Classes from Being Extended and Methods from Being Overridden

 

final class A {
}

class B extends A {
}

        








Related examples in the same category

1.Class with final method
2.Preventing Inheritance by using final keyword