IDNLearn.com provides a collaborative platform for sharing and gaining knowledge. Ask your questions and get detailed, reliable answers from our community of knowledgeable experts.

Which statement will result in a compile-time error?

A. System.out.println(2/0*0);
B. System.out.println(2/0);
C. System.out.println(2+5);
D. System.out.println(0/0);