In the below text, what type of return does the function ‘area’ give? Class Square: NamedShape { var sideLength: Double func area() -> Double { return sideLength*sideLength } }
Correct Answer: Double
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions