SE450: Review: OO Mechanisms: Classes [16/25] |
Classes are a mechanism for describing objects.
Constructors are used to create instances.
Prototype-based languages use prototype objects and cloning. These languages allow either method update (assignment of new methods to objects) or multi-methods (definition of methods outside objects or classes).