Swift - Variables and Constants
Which of the following is the correct syntax to create a type alias for a tuple (Int, Int) named Point?
Which of the following is the correct syntax to create a type alias for a tuple (Int, Int) named Point?
typealias Name = Type format.(Int, Int), so typealias Point = (Int, Int) matches perfectly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions