By Volume4
via css.dzone.com
Published: Dec 18 2008 / 12:23
Classes are special objects: they’re the only kind of object that has the power to spawn new objects (instances). Nonetheless, they’re objects. When you create a class, like Ticket, you can send messages to it, add methods to it, pass it around to other objects as a method argument, and generally do anything to it you would another object. Like other objects, classes can be created—indeed, in more than one way.
Add your comment