(c) Write the output of the following statement:
System.out.println (101 / 20 / 4 / 2.00);
Answers
Answered by
2
Answer:
0.63125
Explanation:
'/' operator has left-to-right associativity, so the expression is similar to,
(((101/20)/4)/2.00)
Similar questions