ODL Class Declarations
Interface <name> {
attributes: <type> <name>
relationships <range type> <name>
methods
}
Method example:
float gpa(in: Student) raises (noGrades)
Arbitrary function can compute the value of gpa, based on a
student object given as input.
Previous slide
Next slide
Back to first slide
View graphic version