120k views
2 votes
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);


1 Answer

6 votes

Answer:

A. System. out. println(2/0*0);

hope it help

please mark as brainliest

User Zhubarb
by
6.5k points