Is there function overloading in objective-c?
Answer / Satendra Pratap Singh
No, Objective-C does not support function overloading. Each function must have a unique method signature, which includes the function name, return type, and number and types of parameters. However, you can achieve similar functionality by using categories to add new methods to existing classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between string and nsstring?
Is objective c statically typed?
What is difference between extern and global?
What objective-c program consists of?
How dispatch_once runs only once?
Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?
What is inheritance in objective c?
Explain the types of protocol?
What is synthesized in objective-c?
What is the latest version of objective-c?
What are the advantages of using objective-c?
What is thread safe function?