Question: What is the value of z after executing this code?

  1. List(a,b,c)
  2. List(List(a, b), c)
  3. List(c,a,b)
  4. List(c,List(a,b))

Answer: The correct answer of the above question is Option B:List(List(a, b), c)