Question: What is wrong with this code?

  1. There is nothing wrong with this code
  2. val is a constant and cannot be changed
  3. 5.0 and 10 are different types
  4. There is no semicolon

Answer: The correct answer of the above question is Option A:There is nothing wrong with this code