Introduction to OOP: Chapter 12: Implications of Inheritance
Maximum Static Space Allocation
A different approach would be to allocate the Maximum amount of space
you would ever need.
Would nicely solve the slicing problem.
Would often allocate unused space.
Maximum amount of space not known until all classes have been seen.
For this reason, not used in practice.
Intro OOP, Chapter 12, Slide 11
Actually, some recent experimental Java JIT compilers have experimented
with techniques similar to this.