Tuesday, 31 October 2017

java important question



                    Question 08:
What is the result of 25 / 4? How would you rewrite the expression if you wished the result to be a floating-point number?

Ans:
          The result is 6
        If write 25 .0/ 4 then result in floating point =6.25

No comments:

Post a Comment