One-page version suitable for printing.
Describe the purpose of the tombstone in the context of the copy collection technique for garbage collection.
Suppose we have the following sequence of declarations in C++.
class A { };
class B : public A { };
class C : public A { };
class D : public B, C { };
Note that the following would be legal in C++.
Why would C++ prohibit the following statement?B *b = new D();
A *a = new D();
C++ distinguishes regular inheritance from virtual inheritance. Explain this distinction.
How does a Smalltalk system store class methods internally?
Explain why a subclass's CIR format should begin by matching the CIR format of its superclass.