The isa pointer


#1

In figure 20.4, there is a diagram explaining what the “isa” pointer is used for. It shows the isa pointer of “BNREmployee” pointing to the class “BNREmployee”. Is this pointing to a generic class prototype or is it pointing to an object BNREmployee? For example, would both mikey and another employee jimmy each have the same isa pointer because they are from the same class or would these pointers be different since they are different objects?


#2

The isa pointer always points to the class object.

[Accelerate your learning and become a competent programmer faster than you can imagine: pretty-function.org]


#3

each one have the same ‘isa pointer’ because they are from the same class.

Regards.,