Navigation:  Tutorials > Beginners Guide to Smalltalk >

Classes and Methods

Previous pageReturn to chapter overviewNext page

As you know by now, Smalltalk is an Object Oriented programming language. In this chapter I will introduce you to two concepts that lie at the heart of this; classes and methods. We have already mentioned that all of Smalltalk's objects know what class they are and that it is this class that governs how they should behave. This behaviour is recorded in the class by a number of methods. A method contains the Smalltalk code that determines how a particular message should be executed.

This chapter introduces you to classes and methods and the Class Browser, which is the development tool that you use to manipulate them. To an extent, this chapter is largely theoretical, but hang in there since this is important stuff and you only need to wait a short while until the next chapter to get on with some practical Programming in Smalltalk.