Contents    Page-10    Prev    Next    Page+10    Index   

Implementation of Objects

An object is basically just a record, with a bit of extra information:

Thus, an object requires only slightly more storage than an ordinary record.

Allocation of space in an object and access to instance variables are the same as for records.