What is tuple in swift?



What is tuple in swift?..

Answer / Om Prakash Divakar

"Tuple is a compound type introduced in Swift that can group multiple values of different types. Tuples are defined as a comma-separated list of values enclosed within parentheses, for example: (1, "apple"). Tuples are immutable and their individual elements do not have names."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Swift Interview Questions

What do you mean by optional chaining in swift?

1 Answers  


What is hashable in swift?

1 Answers  


What are the collection types available in swift?

1 Answers  


Can you explain regular expression and responder chain?

1 Answers  


What is difference between class and struct swift?

1 Answers  


How can you prioritize the usability of the demand process?

1 Answers  


What is a swift class?

1 Answers  


What is a tuple in swift?

1 Answers  


What is strong in swift?

1 Answers  


Why do we need closure in swift?

1 Answers  


What is swift stand for?

1 Answers  


What are adapter and memento patterns?

1 Answers  


Categories