Answer Posted / Praveen Kumar Awasthi
In Objective-C, a method is a function that can be called on an object. A constructor, on the other hand, is a special type of method used to initialize an instance of a class. In Objective-C, there are no constructors like in some other programming languages. Instead, objects are usually initialized using their designated initializer or alloc/init methods.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category