A
Q. What will the following code print?
Code:let greeting = "Hello" print(greeting.uppercased())
Here, you will find a collection of MCQ questions on Swift (iOs). Go through these questions to enhance your preparation for upcoming examinations and interviews.
To check the correct answer, simply click the View Answer button provided for each question.
Have your own questions to contribute? Click the button below to share your MCQs with others!
+ Add QuestionA
let greeting = "Hello" print(greeting.uppercased())
A
A
A
A
let array = [1, 2, 3, 4] print(array[2])
A
A
let str: String? = nil print(str ?? "Default")
A
A
A
If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.
Share Your MCQ