What is Interface in term of OOP (Flash Actionscript)?

Submitted by: Administrator
An interface is a collection of method declarations that allows unrelated objects to communicate with one another. The structure of an interface definition is similar to that of a class definition, except that an interface can contain only methods with no method bodies. Interfaces cannot include variables or constants but can include getters and setters. To define an interface, use the interface keyword. Use the implements keyword in a class declaration to implement one or more interfaces.
Submitted by: Administrator

Read Online Adobe Flex Actionscript Job Interview Questions And Answers