Main Index : Reference :
class myClass extends [class] myParent
{
[...]
}
extends is written between the class name and the base class in a class declaration. It is used exactly like the C++ : operator, which is also valid in C.O.F.F.E.E. There's no difference in meaning between the two styles.
// These two class declarations are the same:
class myClass extends myParent
{
[...]
}
class myClass : myParent
{
[...]
}