What is dot notation?



What is dot notation?..

Answer / Pankaj Sunder Gaur

Dot notation is a shorthand way of accessing properties or instance variables in Objective-C. It uses the dot (.) to separate the property name from the object it belongs to, e.g., `myObject.property`. Underneath, it calls the getter method for the property.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What happen if we send any message to an object which is released?

1 Answers  


What are the size classes?

1 Answers  


What is difference between datasource and delegate?

1 Answers  


Is objective c the same as c sharp?

1 Answers  


What is protocol with example?

1 Answers  


Is objective c type safe?

1 Answers  


What is 'protocol' on objective c?

1 Answers  


Is c++ objective c?

1 Answers  


What is difference between array and nsarray?

1 Answers  


What is differences between nsnull and nil in objective c?

1 Answers  


What is the difference between polymorphism and abstraction?

1 Answers  


How to declare variable in objective c?

1 Answers  


Categories