Last modified 2 years ago
Last modified on 12/07/09 17:02:15
The language supports the normal concepts of classes and objects. It includes the ability for methods and entire classes to be declared abstract, and also for static methods in the normal fashion, as in PHP.
Methods, both static and instance, and properties share the same namespace. In this way, classes are effectively dictionaries containing a list of properties, some of which may be functions which will then become instance methods of instantiated objects. It is possible to assign new methods to an instance of a class at runtime by assigning function pointers as properties.
