List concatenation is the merging of two Lists. This is great if you want to add multiple elements to a list. You can create a new List of the elements to be added and simply merge the new List with the old one.
List concatenation is done using the ::: method.
xxxxxxxxxx
val fruitList = "orange"::"banana"::"apple"::"grape"::Nil
val fruitList2 = fruitList :+ "peach"
val fruitList3 = "watermelon"::fruitList2
val fruitList4 = "mango" +: fruitList3
val twoFruits = "pear"::"apricot"::Nil
val fruitList5 = twoFruits ::: fruitList4
// Driver Code
fruitList5.foreach(println)