How is data security provided in Object Oriented languages?
?
Answer Posted / achal
in object oriented languages emphasis is laid on not to
have any global code(functions or variables.) Everything is
encapsulated inside the body of a class.
The objects of the class can access only the public members
of class. So the data mambers are more secure.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why we use classes in oop?
How does polymorphism work?
What are the 4 pillars of oop?
What is a null tree?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Why do we use polymorphism in oops?
What is class in oop with example?
Why multiple inheritance is not possible?
What is difference between abstraction and encapsulation?
What is pointer in oop?
What is methods in oop?
Write a program to reverse a string using recursive function?
What is encapsulation in oop?
what type of questions