c++ oop implementation

7
C++ OOP Implementation PROGLAN Class

Upload: fridz-felisco

Post on 17-Dec-2014

3.225 views

Category:

Education


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: C++ OOP Implementation

C++ OOP Implementation

PROGLAN Class

Page 2: C++ OOP Implementation

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.

Page 3: C++ OOP Implementation

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.

Page 4: C++ OOP Implementation

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.

Page 5: C++ OOP Implementation

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.

Page 6: C++ OOP Implementation

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

execution environments.

Page 7: C++ OOP Implementation

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