Swift 면접 질문과 답변
Test your skills through the online practice test: Swift Quiz Online Practice Test
Ques 6. Explain optionals in Swift.
Optionals are a type in Swift that represents either a wrapped value or nil, indicating the absence of a value.
도움이 되었나요?
Add Comment
View Comments
Ques 7. What is the difference between 'let' and 'var' in Swift?
'let' is used to declare constants, and 'var' is used to declare variables.
도움이 되었나요?
Add Comment
View Comments
Ques 8. What is a closure in Swift?
A closure is a self-contained block of functionality that can be passed around and used in your code.
도움이 되었나요?
Add Comment
View Comments
Ques 9. Explain the difference between a value type and a reference type in Swift.
A value type is copied when it's assigned to a new variable or passed as an argument, while a reference type refers to the same instance of the data.
도움이 되었나요?
Add Comment
View Comments
Ques 10. What is ARC (Automatic Reference Counting) in Swift?
ARC is a memory management feature in Swift that automatically tracks and manages the memory usage of your app.
도움이 되었나요?
Add Comment
View Comments
Most helpful rated by users:
- What is Swift?
- Explain optionals in Swift.
- What is the difference between 'let' and 'var' in Swift?
- What are property observers in Swift?
- What is the purpose of the 'static' keyword in Swift?