How is data security provided in Object Oriented languages?
?
Answer Posted / ramakrishna yechuri
Data security is provided with the help of
access specifiers called private,protected.
A variable which is declared as private cannot be acceced
outside the class.
Total data is binded or encapsulated in the form of
class.
A class itself is an example for encapsulation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we override main method?
What is multilevel inheritance in oop?
What is encapsulation example?
Write a program to reverse a string using recursive function?
What is variable example?
What are different oops concepts?
What is basic concept of oop?
to find out the minimum of two integer number of two different classes using friend function
How is polymorphism achieved?
Explain the concepts involved in Object Oriented programming.
#include
write a C++ program for booking using constructor and destructor.
What are benefits of oop?
What is the difference between encapsulation and polymorphism?
What polymorphism means?