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

What is the problem with multiple inheritance?

578


How can you overcome the diamond problem in inheritance?

758


What is the main feature of oop?

612


What are objects in oop?

600


What is polymorphism and its types?

585






what is graphics

2000


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1409


What is multilevel inheritance in oop?

547


What is overloading and its types?

604


What does and I oop mean?

607


What is the real life example of polymorphism?

599


What is inheritance in oop?

591


Who invented oop?

643


What does sksksk mean in text slang?

1496


What is object in oop?

669