MCQ Practice Single Best Answer Topic: ICSE Computer Application - Class X - 2025 PYQ

Q Which of the following converts "25" to 25.0?

Question ID
#24164
Subchapter
ICSE Computer Application - Class X - 2025 PYQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Double.Parsedouble("25")
  • B Double.parse("25")
  • C Double.parseDouble("25")
  • D Double.parseDouble(25)
Correct Answer: C

Explanation

(c) Double.parseDouble("25")
Explanation: The parseDouble() method converts a String to a double. The correct syntax is Double.parseDouble("25").

Share This Question

Share this MCQ with your friends or study group.