COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
C++ LANGUAGE DESIGNING STRATEGY
Designing Strategy
An object-oriented system might use an abstract base
class to provide a common and standardized interface
appropriate for all the external applications.
Then, through inheritance from that abstract base
class, derived classes are formed that operate similarly.
The capabilities (i.e., the public functions) offered by
the external applications are provided as pure virtual
functions in the abstract base class. The implementations
of these pure virtual functions are provided in the
derived classes that correspond to the specific types
of the application.
This architecture also allows new applications to be added
to a system easily, even after the system has been defined.
No comments:
Post a Comment