c++ oop implementation

Post on 17-Dec-2014

3.225 Views

Category:

Education

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

C++ OOP Implementation

PROGLAN Class

C++ OOP ImplementationObjects

Classes

Overloading It allows an object to have different meanings,

depending on its context. When an exiting operator or function begins to operate on new data type, or class, it is understood to be overloaded.

C++ OOP ImplementationAbstraction the ability to represent concepts directly in a

program and hide incidental details behind well-defined interfaces

is the key to every flexible and comprehensible system of any significant size.

Encapsulation the ability to provide guarantees that an

abstraction is used only according to its specification

is crucial to defend abstractions against corruption.

C++ OOP ImplementationPolymorphism the ability to provide the same interface to

objects with differing implementations is crucial to simplify code using abstractions.

Reusability This term refers to the ability for multiple

programmers to use the same written and debugged existing class of data.

C++ OOP ImplementationInheritance the ability to compose new abstractions from

existing one is one of the most powerful ways of

constructing useful abstractions.

Runtime polymorphism providing some form of runtime binding.

C++ OOP ImplementationCoexistence with other languages and systems essential for functioning in real world

execution environments.

References http://citeseerx.ist.psu.edu/viewdoc/summary?

doi=10.1.1.2.8789 http://www.research.att.com/~bs/oopsla.pdf http://www.exforsys.com/tutorials/c-plus-

plus/basic-concepts-of-oops-and-structure-of-c-program.html

top related