Tuple in Scala
In Scala, a tuple is a value that contains a fixed number of elements, each with a distinct type. Tuples are immutable.
Access elements from Tuple
Tuple element is "1 based indexing", using dot underscore notation:
Last updated
Was this helpful?