Question: What is the value of y?

  1. This code contains an error
  2. 1
  3. 2
  4. nil

Answer: The correct answer of the above question is Option A:This code contains an error