Computer Applications
Identify all the errors in the following statements.
while (x < 1 && x > 50)
{
a = b;
}
Related Questions
How are these statements different from each other?
i. breakii. continue
iii. System.exit(0)
iv. return
Identify all the errors in the following statements.
for (int i = 5; i > 0; i++) { System.out.println("Java is fun!"); }Identify all the errors in the following repetitive statements.
while (x == y) { xx = yy; x = y; }What is an empty statement? Explain its usefulness.