MCQs > IT & Programming > Swift > What is the return type of the following code? func nameFunc() -> String { return 'Jhon' }

Swift MCQs

What is the return type of the following code? func nameFunc() -> String { return "Jhon" }

Answer

Correct Answer: String

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