MCQs > IT & Programming > Swift > Which one creates a dictionary with a key type of Integer and value of String?

Swift MCQs

Which one creates a dictionary with a key type of Integer and value of String?

Answer

Correct Answer: var dict: [Int: String] = [1:"one"]

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it