Câu hỏi phỏng vấn Objective-C
Câu hỏi

Name four important data types found in Objective-C

Câu trả lời

Here are four important data types found in Objective-C:

  1. id: This is a generic object pointer type that can point to any Objective-C object. It is commonly used when the exact type of an object is not known or when you want to write code that can work with objects of different classes.

  2. NSString: This is the Objective-C class for representing strings. It provides methods for creating, manipulating, and comparing strings.

  3. NSArray: This is the Objective-C class for represen...

entry

entry

Gợi ý câu hỏi phỏng vấn

junior

What is a protocol, and how do you define your own and when is it used?

expert

Which is the best of GCD, NSThread or NSOperationQueue ?

middle

What is the difference between inheritance and Categories in Objective-C?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào