What is data encapsulation in objective-c?



What is data encapsulation in objective-c?..

Answer / Rajat Kuamr Choudhary

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

Post New Answer

More Objective-C Interview Questions

How do you insert a block?

1 Answers  


What is singleton in objective c?

1 Answers  


What are the 5 performance objectives?

1 Answers  


What are the adavantages of gcd over nsthread?

1 Answers  


What is toll-free bridging? When is it useful?

1 Answers  


Is objective c hard?

1 Answers  


What is difference between nsstring and nsmutablestring?

1 Answers  


What are the different types of identifiers?

1 Answers  


What happens when you create a block?

1 Answers  


What is instancetype?

1 Answers  


What is objective c?

1 Answers  


Why do we require class extension?

1 Answers  


Categories