Question: Consider the following declarations: double d 1 = Math. a b s ( 2 . 5 ) ; double d 2 = Math. a b

Consider the following declarations:
double d1= Math.abs(2.5);
double d2= Math.abs(-2.49);
double d3= Math.abs(3.05);
double d4= Math.abs(-3.1);
Which of the following statements is NOT true?
A.d2d2
C.d2d4
B.d2
C.d2
 Consider the following declarations: double d1= Math.abs(2.5); double d2= Math.abs(-2.49); double

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!