Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
Ramesh Papaganti Scala - Tuples. Scala tuple combines a fixed number of items together so that they can be passed around as a whole. Unlike an array or list, a tuple can hold objects with different types but they are also immutable. The following is an example of a tuple holding an integer, a string, and the console. source: https://www.tutorialspoint.com/scala/scala_tuples.htm I hope I was helpful
22nd May 2019, 4:41 PM
Alessio Benvenuti
Alessio Benvenuti - avatar