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 in simple words?
What is data binding in oops?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is oops and why we use oops?
What is the diamond problem in inheritance?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is coupling in oop?
Advantage and disadvantage of routing in telecom sector
Can a varargs method be overloaded?
Can we override main method?
What does sksksk mean in text slang?
Why it is called runtime polymorphism?
Is enum a class?
Can you explain polymorphism?