+ 2
Why data is more secure in OOP than in POP?
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 😂😂😂
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).