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 does it mean to be objective?
What are the differences between copy and retain?
What is hashable?
What are the different types of identifiers?
Can a static library (.a) contain resources like images, sound files etc?
Explain what are the attributes of category?
What do you understand by protocol?
What does alloc mean in objective c?
Can you learn swift without knowing objective c?
What is nsmutabledictionary?
Is objective c hard?
How do you define a block?