Computer Science, asked by sasmitanayak1991b, 3 months ago

What is the output of the following code?
public class Main
{
public static void main(String[] args)
{
int x = 0;
for(x=0; x=5; x++)
{
System.out.print(x);
}
}
}
ho​

Answers

Answered by slimerthanshade
10

Answer:

There will be an error because the syntax of for loop is incorrect.

Answered by Harshuharshibaby
0

Answer:

There will be an error the syntax error of loop is incorrect

Similar questions