In Java, which of the following statements would cause a compilation error? int x = 500 - 501;
int x = 52;
int x =
100.0;
int x = 3 - 2;

Solved
Show answers

Ask an AI advisor a question