Each object has a tag telling its class. (The classes are numbered, and the tag holds the class number.) Each method in a class has a number. There is a table, called the dispatch table, where you can look up a method based on class number and method number.