How is data security provided in Object Oriented languages?
?
Answer Posted / 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 |
Post New Answer View All Answers
What is class and object with example?
what is the drawback of classical methods in oops?
What is an advantage of polymorphism?
What is the use of oops?
What is abstraction encapsulation?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is overriding in oops?
Can a destructor be called directly?
What is oops and its features?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
#include
how to get the oracle certification? send me the answer
What are the benefits of interface?
What is the oops and benefits of oops programming?
class type to basic type conversion