Subclasses in ODL
Interface SoftwareProduct: Product{
attribute Set<string> platform;
attribute Set<integer> requiredMemory;
Interface EducationalProduct: Product{
attribute Struct Interval {integer begin, integer end} ageGroup;
The two classes also inherit all the properties of Product.