Previous Page | Next Page

The Structure of SCL Programs

Defining Interfaces in SCL Programs

Interfaces are groups of method declarations that enable classes to possess a common set of methods even if the classes are not related hierarchically. Interfaces are especially useful when you have several unrelated classes that perform a similar set of actions. These actions can be declared as methods in an interface, and each associated class can provide its own implementation for each of the methods. In this way, interfaces provide a form of multiple inheritance.

For more information about defining and using interfaces, see SAS Object-Oriented Programming Concepts; Example: Creating An Object-Oriented Application in SCL; and INTERFACE.

Previous Page | Next Page | Top of Page