ActionScript 3 Language Specification |
|||
| ActionScript 3.0 Language Specification > 10 Interfaces > 10.2 Interface methods > 10.2.2 Inheritance of interface methods | |||
The rules for implementing an inherited interface method are the same as the rules for overriding an inherited class method. Specifically, the name of the method, number and type of the parameters, and return type must match exactly.
It is a verification error if a class implements an interface method with a method whose name matches, but the parameter count or types or return type do not match. It is a verifier error if a class inherits an interface method that it does not implement.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/specs/actionscript/3/as3_specification99.html