Object-oriented programming in Scheme
- slide 11 : 11
A demo of virtual methods
On this page we will make two artificial classes with the purpose of demonstrating virtual methods
A base class
x
.
A class
y
that inherits from
x
.
A dialogue using class
x
and class
y
.
The functions
new-instance
and
virtual-operations
.
All the stuff necessary to play with x and y.
Representing HTML with objects in Scheme