0 votes
in Scala Constructs by

What would be the output of following snippet

val s = List(1,2,3,4)

val t = List(5,6,7,8)

val n = s ++ t

println(n)

1 Answer

0 votes
by
.......List(1, 2, 3, 4, 5, 6, 7, 8) would be output of the above code in scala
...