Explain what is data encapsulation in objective-c?
Answer / Brij Vir
Data Encapsulation in Objective-C refers to the practice of keeping the fields (variables) and methods of an object private, and only providing access to them through public interfaces. This helps to prevent unauthorized access to the data and ensures that the data is modified in a controlled manner.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the way messaging works in objective-c?
What is an objective description?
What is m script in matlab?
What is property and its types?
What objective-c program consists of?
What is the protocol in objective c?
Does objective c have garbage collection?
How the class “implementation” is represented in objective-c?
How messaging works in objective-c?
Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?
Can you please explain the way messaging works in objective-c?
What is thread safe function?