1.

Using encapsulation data security is ___________(a) Not ensured(b) Ensured to some extent(c) Purely ensured(d) Very lowThis question was posed to me by my college director while I was bunking the class.I'm obligated to ask this question of Encapsulation topic in section OOPs Concept & Features of Object Oriented Programming

Answer»

Right choice is (b) ENSURED to some extent

For EXPLANATION: The encapsulation can only ensure DATA security to some extent. If POINTER and ADDRESSES are misused, it may violate encapsulation. Use of global variables also makes the program vulnerable, hence we can’t say that encapsulation gives pure security.



Discussion

No Comment Found

Related InterviewSolutions