Saved Bookmarks
| 1. |
What Is The Use Of Tuples In Scala? |
|
Answer» SCALA TUPLES combine a FIXED number of items TOGETHER so that they can be passed around as whole. A tuple is immutable and can hold objects with different types, unlike an ARRAY or list. Scala tuples combine a fixed number of items together so that they can be passed around as whole. A tuple is immutable and can hold objects with different types, unlike an array or list. |
|