Drawbacks of Tradition Programming :
Drawbacks of Tradition Programming Unmanageable Programs
Problems in modification of data
Difficulties in implementation
Focus on function rather than data
Object Oriented Concepts :
Object Oriented Concepts Objects
Class
Property
Method
Abstraction
Inheritance
Encapsulation
Polymorphism
Object oriented Languages :
Object oriented Languages Object Based Programming language
Abstraction
Encapsulation
Data Hiding
Automatic initialization & Clear up of objects
Operator overloading
Ex- Ada, Visual Basic
Object oriented Programming language
OBPL Features + Inheritance + Dynamic Binding
Ex- SmallTalk, C++ , Visual C++,Java
C++ is Object Oriented Language ? :
C++ is Object Oriented Language ? Focus On Data rather than Procedure
Programs are divided into what are known as OBJECTS.
Functions that operate on the data of an object are tied together in the data structure.
Data is hidden & can not be accessed by external functions.
New data & functions can be easily added whenever necessary
INTRODUCTION OF C++ :
INTRODUCTION OF C++ C++ was developed by
Bjarne Stroustrup at
AT & T Bell Laboratory of USA
In 1983.
A simple Program of C++ :
A simple Program of C++ #include<iostream.h>
void main()
{
cout<<“ HELLO HPES “;
}
Execution Process of a Program :
Execution Process of a Program
Slide 9:
Thank You