class instance interface abstract-class extends implements private protected public static const constructor super read-only friendly-method event |
ImplementsA class can implements one or more interfaces. ZNOW makes good use of the reserved word "implements" to trigger the implement feature. var ClassA=Class.implements(IntfA, IntfB)({
init:function(){
},
method1:function(){
},
method2:function(){
}
});
All methods in the interfaces have to be implemented or results an abstract class. |