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

Why polymorphism is used in oops?

0 Answers  


what is the 3 types of system development life cycle

0 Answers  


Templates mean

0 Answers  


You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.

10 Answers   Zycus Infotech,


What is design patterns in C++?

2 Answers   Persistent,






What is destructor example?

0 Answers  


What does and I oop mean?

0 Answers  


Can an interface inherit a class?

0 Answers  


Can we override main method?

0 Answers  


What is basic concept of oop?

0 Answers  


What are different oops concepts?

0 Answers  


what is opps?why it is use in programming language?

2 Answers   Wipro,


Categories