Q81
What will be the output of the following Java program? class Modulus public static void main(String args[]) double a = 25.64; int b = 25; a = a % 10; b = b % 10; System.out.println(a + " " + b);
A.
5.640000000000001 5
AnswerB.
5.640000000000001 5.0
C.
5 5
D.
5 5.640000000000001
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board