+ 2

Why data is more secure in OOP than in POP?

26th Jan 2017, 6:55 PM
james bond
james bond - avatar
2 Réponses
+ 2
OOP is like when u have a banana in your pants and you show the shape of it in your pants... but people might think that is your ... . So its private or protected banana only for you to know. if you want to tell somebody about your banana, you make it public for everyone 😂😂😂
27th Jan 2017, 2:18 PM
Catalin Popinciuc
Catalin Popinciuc - avatar
0
Basically it is all bases on the way POP and OOP handle the functions and data between functions, on POP the information within the function can be accessed by any other function on the system as they use global data, also, POP does not provide data hiding. OOP provides data hiding and allows you to set specific permissions to the functions (public, private, protected, etc).
27th Jan 2017, 4:33 AM
Jesus Manuel Bustamante Sierra
Jesus Manuel Bustamante Sierra - avatar