Review questions

A What are OOA, OOD, and OOP? What are some outcomes of these processes?
B What are some basic principles for drawing UML diagrams?
C What are encapsulation, inheritance, and polymorphism?
D How can you replace inheritance with composition? Draw a UML diagram.
E What is meant by the interface of a class?
F What does it mean to delegate a method to another class? Draw a UML diagram.
G Why do you sometimes use the argument this when delegating a method?
H Why are pointer members preferable to instance members? What is the additional burden of having a pointer member?
I What do we mean by ‘no forgery’?
J What is the combinatorial explosion of classes, and how can you prevent it?
K How do you use #ifdef ?
L How do you declare and instantiate ...

Get Software Engineering and Computer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.