Question
What is a tuple in Scala?
Select an option. Your answer will be checked instantly.
Correct Answer: D. A fixed-size grouping of values that may have different types
Explanation:
Tuples provide lightweight product types such as (String, Int).
Pair RDDs commonly use Tuple2 values.
Leave a Reply