+ 1

Can anyone tell me the most important difference between object oriented programming and traditional programming approach

WANT A LOGICAL ANSWER

10th Mar 2018, 9:06 AM
Swapnil Gouder
Swapnil Gouder - avatar
2 Respuestas
+ 2
in structural programming, data is often separated from procedures and is global, making it easy to modify it outside the scope of your code. This means that access to data is uncontrolled and unpredictable (that is, many functions can have access to global data). Second, because you have no control over who can access the data, testing and debugging is much more complicated. When working with objects, this problem is solved by combining data and behavior into one elegant complete package.
10th Mar 2018, 9:19 AM
Aidos Zhakupov
Aidos Zhakupov - avatar
+ 10
what is traditional programming ..if u mean it as procedural programming approach ..then the main difference is : in OOP(object oriented programming) more importance is given to data and methods while in procedural programming more importance is given to procedure followed ; we can make complex programs with less code using OOP approach.....but the same is difficult n much complicated in procedural
10th Mar 2018, 9:21 AM
abhijeet
abhijeet - avatar