How is data security provided in Object Oriented languages?
?

Answers were Sorted based on User's Feedback



How is data security provided in Object Oriented languages? ?..

Answer / 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

How is data security provided in Object Oriented languages? ?..

Answer / guest

In c++,
Data is encapsulated(hidden) in the form of specifiers such as:

private: accessible only to members of class.

public: accessible everywhere.

protected :accessible only to the members that are
inherited(see inheritance)

Is This Answer Correct ?    4 Yes 0 No

How is data security provided in Object Oriented languages? ?..

Answer / channu

using class

Is This Answer Correct ?    5 Yes 3 No

How is data security provided in Object Oriented languages? ?..

Answer / 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

How is data security provided in Object Oriented languages? ?..

Answer / harika

by providing access specifier
private

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

what is mean by design pattern

4 Answers  


what is an qt4 interface?

1 Answers   IBM,


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

0 Answers  


Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,


Prepare me a program for the animation of train

0 Answers  






Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)

4 Answers  


Which method cannot be overridden?

0 Answers  


How is exception handling carried out in c++?

3 Answers  


What are properties in oop?

0 Answers  


What is a function in oop?

0 Answers  


What is meant by oops concept?

0 Answers  


i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION

2 Answers   CTS,


Categories