Answer Posted / Nirmal Kishore Pandey
Tuples in Scala are ordered, heterogeneous collections of values. They can be used to group together values of different types into a single unit. For example, val myTuple = (1, "Hello", true). This creates a Tuple3 with the values 1, "Hello", and true.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers