1.

what is use of Tuples in Scala?

Answer»

what is use of Tuples in Scala?
Tuples is a combination of finite numbers of items in Scala. And it is all together programmer can pass TUPLE AROUND as a whole. Tuple is IMMUTABLE and this can hold OBJECTS with different datatypes. This is not LIKE Array or list because these two are mutable.



Discussion

No Comment Found