Advertisement
mehedi2022

why tuples

Sep 13th, 2022 (edited)
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. In Scala, a tuple is a value that contains a fixed number of elements, each with its own type. Tuples are immutable. Tuples are especially handy for returning multiple values from a method.
  2.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement