what is object oriented programming in c++
Answers
Answered by
0
Object oriented programming aims to implement real world entities like inheritance, hiding, polymorphism etc in programming. The main aim of OOP is to bind together the data and the functions that operates on them so that no other part of code can access this data except that function.
Answered by
1
For simple understanding__
Object oriented programming is a program which is done through seeing objects function s.
Ex. A cycle is a object.
and cycle has various function like breaks, pidal, gear etc.
so if I want to run cycle I will make its functions first then I will run it.
the same case used for programming in c++
Object oriented programming is a program which is done through seeing objects function s.
Ex. A cycle is a object.
and cycle has various function like breaks, pidal, gear etc.
so if I want to run cycle I will make its functions first then I will run it.
the same case used for programming in c++
Similar questions