Does OOP provide better security than POP? A. Always true for

does-oop-provide-better-security-than-pop-a-always-true-for

Does OOP provide better security than POP?

A. Always true for any programming language

B. May not be true with respect to all programming languages

C. It depends on type of program

D. It’s vice-versa is true

I had been asked this question in class test.

My doubt is from OOPs Features in portion OOPs Concept & Features of Object Oriented Programming

Right choice is A. Always true for any programming language

Explanation: It is always true as we have the facility of private and protected access specifiers. Also, only the public and global data are available globally or else the program should have proper permission to access the private data.