March 2002
Intermediate to advanced
496 pages
8h 51m
English
A developer who creates a class that implements RocketSim is responsible for writing apogee() and thrust() methods that return measures of a rocket's performance. In other words, the developer must fulfill the contract implied by the method names and the code comments.
Sometimes, the methods that an interface designates do not carry an obligation to perform a service for the caller. In some cases, the implementing class can even ignore the call, implementing a method with no body whatsoever.
|
If you create an interface that specifies ...
Read now
Unlock full access