Explain immutable types in objective c programming language?
Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category