OOP's concepts in C++
Object Oriented Programming
A programming language which supports
Name some pure object oriented languages
C++ is a partial object oriented programming language not pure.
why it is not pure object oriented language. because C++, can write a program in c++ without using opps.
It is a process of binding data with instructions which operates data into single entity.
It is a process of grouping data and instructions
Object based programming languages
The programming language which allows to use existing objects but does not allow to build classes is called object based programming language.
eg : vbscript, Java script
Class based programming languages
A programming language allows to build classes object but does not support inheritance and polymorphism is called class based programming languages.
eg : Visual basic 4.0
Programming elements are 2 types
Advantage of OOP'S
object oriented programming
Binding data with instructions or related operations is called encapsulation
What is data hiding ?
Preventing data access from unrelated operation
Adv : Which allows to develop secured applications
What is Binding ?
Linking data with related operations