What is displayed when the following is executed;java
double d1=-0.5; System.out.println("Ceil d1="+Math.ceil(d1)); System.out.println("floor d1="+Math.floor(d1));
Ceil d1=-0.0 floor d1=-1.0
Ceil d1=0.0 floor d1=-1.0
Ceil d1=-0.0 floor d1=-0.0
Ceil d1=0.0 floor d1=0.0
Ceil d1=0 floor d1=-1
Acode