Due May 17, 1999 before class
Given the representation of objects described in the book and in the
lectures, answer the following questions:
- How would multiple inheritance interact with our representation
of objects in terms of the complexity (efficiency) of field access and
method calls?
- Java allows a class to implement multiple interfaces. Assume some
reasonable representation of objects (the standard one or one you
design yourself) and describe how calling a method via an interface
type would be implemented. How efficient is your implementation?
Page visited
times since November 18, 1996.
sabry@cs.uoregon.edu