scala> def check(a: Int, b: Int): (Int, Int) = { (3, 4) }
The returning type is (Int, Int). How is this possible? What is S
(Int, Int)
The type (Int, Int) is just a nicer way of writing Tuple2[Int,Int]
Tuple2[Int,Int]