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
Write a c++ program to display pass and fail for three student using static member function
can inline function declare in private part of class?
What do you mean by Encapsulation?
What is destructor oops?
What are functions in oop?
What is the advantage of oop over procedural language?
What is encapsulation with example?
Explain virtual inheritance?
When not to use object oriented programming?
Can you explain polymorphism?
What is abstraction oop?
What is meant by multiple inheritance?
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 are the desirable attributes for memory managment?
Can static class have constructor?