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

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)