User data

Report a typo

What would be the result of the expression below?

val userList = List(
  ("Alice", 1985, 9, 4, 'a'),
  ("Scally", 1988, 5, 6, 's'),
  ("Bob", 1990, 12, 7, 'b')
)
  
println(userList(1)._2)
Enter a number
___

Create a free account to access the full topic