Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Interfaces > About interfaces > About naming interfaces | |||
Interface names have an uppercase first letter, the same as class names. Interface names are usually adjectives, such as Printable. The following interface name, IEmployeeRecords, uses an initial uppercase letter and concatenated words with mixed case:
interface IEmployeeRecords {}
|
NOTE |
Some developers start interface names with an uppercase "I" to distinguish them from classes. This is a good practice to adopt because it lets you quickly distinguish between interfaces and regular classes. |
For more information on naming conventions, see Best Practices and Coding Conventions for ActionScript 2.0.
|
|
|
|