The output of Double.parseDouble(‘71.25”) +0.75 is:
  1. 72
  2. 72.0
  3. 71.0
  4. 71.75


Solution



(b)
72.0

Explanation:

Since the parseDouble() function convert any datatype to double and return double value so,

71.25 + 0.75=72.0


Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com