The Structure of 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.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.