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

expert

What sending a message to nil means and how is it actually useful?

senior

Explain the difference between interfaces, delegates, and protocols in Objective-C

expert

Explain the use case when ARC won't help you to release memory (but GC will)

Bình luận

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

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