0 votes
in Scala Constructs by
Explain the use of Tuples in Scala?

1 Answer

0 votes
by

Scala tuples combine a Finite number of items together so that the programmer can Pass a tuple around as a Whole. Unlike an Array or List, a tuple is Immutable and can hold objects with different Datatypes.

Related questions

0 votes
asked Sep 11, 2022 in Scala Constructs by sharadyadav1986
0 votes
0 votes
asked Sep 10, 2022 in Scala Constructs by Robin
...