The output of Double.parseDouble(‘71.25”) +0.75 is:
- 72
- 72.0
- 71.0
- 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