MCQs > IT & Programming > Swift > Output? import UIKit var array:[String] = ['string1', 'string2']; print('array list has (array.count) items.');

Swift MCQs

Read the following code and select output?

 import UIKit

var array:[String] = ["string1", "string2"];

 print("array list has (array.count) items.");

Answer

Correct Answer: array list has (array.count) items.

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