MCQs > IT & Programming > Swift > Correct about initializers? 1. Failable and non-failable initializers can be def‌ined with the same name and parameter types 2. No value can be returned by initializers. 3. A failable initializer cannot delegate to a non-failable initializer.

Swift MCQs

In Apple Swift, which of the given statements is correct about initializers?

1. Failable and non-failable initializers can be def‌ined with the same name and parameter types

2. No value can be returned by initializers.

3. A failable initializer cannot delegate to a non-failable initializer.


Answer

Correct Answer:

Only 2

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