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


Please Help Members By Posting Answers For Below Questions

explain sub-type and sub class? atleast u have differ it into 4 points?

1933


Why is polymorphism important in oop?

713


What is pure oop?

688


What is static modifier?

710


What is data binding in oops?

698






What is difference between polymorphism and inheritance?

704


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4042


When not to use object oriented programming?

671


What causes polymorphism?

673


How can you overcome the diamond problem in inheritance?

863


What are the features of oop?

734


Prepare me a program for the animation of train

2085


How long to learn object oriented programming?

667


write a program to find 2^n+1 ?

1654


What are the 3 pillars of oop?

727