How is data security provided in Object Oriented languages?
?
Answer Posted / 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 |
Post New Answer View All Answers
What is inheritance write a program to show use of inheritance?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is constructor overloading in oop?
What does and I oop mean?
What are main features of oop?
What is abstraction in oop?
What is destructor example?
Where You Can Use Interface in your Project
What are the benefits of oop?
Why do we use class?
What is the difference between abstraction and polymorphism?
What is use of overloading?
Who invented oop?
Why do we use oop?
Why is polymorphism important in oop?