Next: Creating classes, Previous: Some classes, Up: Tutorial
When programming in Smalltalk, you sometimes need to create new kinds of objects, and define what various messages will do to these objects. In the next chapter we will create some new classes, but first we need to understand how Smalltalk organizes the types and objects it contains. Because this is a pure “concept” chapter, without any actual Smalltalk code to run, we will keep it short and to the point.
• Class Object: | The grandfather of every class | |
• Animals: | A classic in learning OOP! | |
• But why: | The bottom line of the class hierarchy |