Question

What will the following code print?     System.out.println(10 / 3);     System.out.println(10.0 / 3);

A 3, 3.3333333333333335
B 3.33, 3.33
C 3, 3.0
D Compilation error
E 4, 3.33
Practice Next

Hey! Ask a query