Q. Which method is used to convert a number to a string?

  • (A) toString()
  • (B) parseInt()
  • (C) String()
  • (D) Both toString() and String()
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both toString() and String()
Explanation: Both toString() and String() can convert numbers to strings.
Explanation by: Mr. Dubey
Both toString() and String() can convert numbers to strings.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
85
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate