Polymorphism within C++
C++ polymorphism indicates a call to a member function will
lead to the execution of a different function depending on the nature of the
object that invokes the function.
C++ Abstracts and Encapsulates
Data abstraction is provision of essential information to
the outside world and withholding background details to represent needed data
only. This is a programming technology that is based on separation of interface
and implementation.
C++ programs are composed of the following elements:
- Code
or program statements
- Program
data
Encapsulation is an object oriented programming technique
that binds data and functions manipulating the data. This leads to the concept
of data hiding. Encapsulation and data hiding is created through user defined
classes which can contain private, public and protected members.
Areas where C++ is used professionally include:
- Banking
- Trading
- Insurance
- Telecommunications
- Military
applications
C++ can be used in local and wide area networking, graphics,
numerics, user interaction and database access and it can also coexist with
code fragments and programs composed in other programming languages. C++ can be
used for diverse development plus execution environmental and teaching advanced
concepts. C++ is also supported with a stable and well specified standard
library.
Comments
Post a Comment