Q. Which method is used to convert a number to a string?
β
Correct Answer: (D)
Both toString() and String()
Explanation: Both toString() and String() can convert numbers to strings.