What will be the output of this program? for(i=1;i<5;i++){System.out.print("Computer,");} (2)
Answers
Answered by
1
Answer:
this statement will output computer 4 times without space in the same line
Answered by
0
Explanation:
As per Java compilation the output will be -
Computer
Computer
Computer
Computer
Errors in java - dont put semicolon after any bracket of for loop, you may get an error...
hope this helps...
Similar questions