Question: (10 points) Consider the following defined OO design constructs. Specification an abstract base class defines type utility by specifying a unifying public interface to be
- (10 points) Consider the following defined OO design constructs.
- Specification
an abstract base class defines type utility by specifying a unifying public interface
to be instantiable, a descendant class must fully specify behavior to complete the type definition
- Program to Interface Not Implementation (PINI)
Recall that type checking for dynamic binding may be done by the client (with or without help from the class designer) OR by the compiler
- Under what assumptions do specification and PINI complement each other? Explain
- Identify when a specification design could negatively impact type checking
- How does client type checking undermines PINI? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
