Classes: Difference between revisions

431 bytes added ,  14 years ago
no edit summary
m (Fixed alphabetic position)
No edit summary
Line 81:
Foo := Set(2007); -- Foo.Variable is set to 2007
end Main;</lang>
 
=={{header|Aikido}}==
Aikido provides classes with single inheritance and multiple interface implementation. A class takes a set of constructor arguments and provides a set of public functions, operators, classes, monitors and threads.
 
<lang aikido>class Circle (radius, x, y) extends Shape (x, y) implements Drawable {
var myvec = new Vector (x, y)
 
public function draw() {
// draw the circle
}
}</lang>
 
 
=={{header|AmigaE}}==