Explain immutable types in objective c programming language?
Answer / Mahendra
In Objective-C, immutable types are data types whose values cannot be changed after they are created. Examples include NSNumber (for numeric values), NSString (for strings), and NSDate (for dates). To create an instance of an immutable type, you simply initialize it with the desired value and do not call any mutator methods on it afterward.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a delegation protocol?
Why create a custom view?
What is responder chain?
When would you use nsarray and nsmutablearray?
Where is objective c used?
What is protocol in objective-c?
What is ivar objective c?
How do I import a swift file into objective c?
Why swift is better than objective c?
What is assign property in objective c?
Can you use swift and objective c together?
How to initialize nsmutabledictionary in objective c?