Object in memory can be viewed as a cross between a traditional record structure and an activation record One mechanism would be for initialization code to copy all the currently inherited features(and methods) directly into the record structure(with methods as code pointer) An alternative is to keep a complete description of the class structure in memory at each point during execution, with inheritance maintained by superclass pointers, and ll method pointers kept as field in the class structure (Inheritance graph) Another alternative is to compute the list of code pointers for available methods of each class, and store this in(static) memory as a virtual function table. It is the method of choice in c++• Object in memory can be viewed as a cross between a traditional record structure and an activation record • One mechanism would be for initialization code to copy all the currently inherited features (and methods) directly into the record structure (with methods as code pointer); • An alternative is to keep a complete description of the class structure in memory at each point during execution, with inheritance maintained by superclass pointers, and all method pointers kept as field in the class structure (Inheritance graph). • Another alternative is to compute the list of code pointers for available methods of each class, and store this in (static) memory as a virtual function table. It is the method of choice in C++