| | nodename » From C++ to ActionScript 2.0, 4: Abstract Classes |
 | | For a comparison of abstract classes and interfaces, and what they’re good for, have a look at Java Glossary: Interface vs Abstract Class, just about all of which (except for the stuff about "static final constants") is applicable to ActionScript as well, once we implement abstract classes. |
 | | Unlike in C++, the only way we could implement Abstract’s methodThree at compile time would be to define it in the class body, but then it would no longer be abstract, and a derived class could get away without overriding it. |
 | | To ensure cross-compiler compatibility, all abstract members are defined with empty class member stubs - these are removed automatically by the compiler and the compiler then fully checks both constructor access and the parent hierarchy to ensure that all declared abstract members and missing interface methods are implemented in the concrete class. |
| nodename.com /blog/2005/09/19/abstract-classes (1029 words) |