Tuple of tuples

Report a typo

What would be the result of the expression below?

val tuple =
  (1, 'a', "abc", true) ->
    ('a', "abc", true, 1) ->
      ("abc", true, 1, 'a') ->
        (true, 1, 'a', "abc")

println(tuple._1._1._1._1)
Enter a number
___

Create a free account to access the full topic