ICSE Class 10 Computer Applications
Question 9 of 10
Solved 2022 Semester 2 Question Paper ICSE Class 10 Computer Applications — Question 9
Back to all questions150.0
Reason — parseDouble() method returns a double value represented by the specified string. Thus, double values 56.0 and 94.0 are stored in C and D, respectively. Both C and D are added and 150.0 (56.0 + 94.0) is printed on the screen.