Opening the book…
The object model is based on a set of simple rules that are applied uniformly.
The rules are as follows:
Rule 1. Everything is an object.
Rule 2. Every object is an instance of a class.
Rule 3. Every class has a superclass.
Rule 4. Everything happens by sending messages.
Rule 5. Method lookup dynamically follows the inheritance chain.
Let us look at each of these rules in some detail.
This page titled 6.1: The Rules of the Model was last modified on Sat, 19 Dec 2020 08:13:43 GMT and is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by via source content that was edited to the style and standards of the LibreTexts platform.
The book could not be loaded just now.