18
What will the following program print?*
public class TestClass
{
public static void main(String[] args)
{
for: for(int i = 0; i<10; i++)
{
for (int j = 0; j<10; i++)
{
if (i+j> 10) break for;
System.out.println("hello");
Answers
Answered by
0
Answer:
IT WILL PRINT HELLO TEN TIMES
hello
hello
hello
hello
hello
hello
hello
hello
hello
hello
Similar questions
Political Science,
3 months ago
Chemistry,
6 months ago
Computer Science,
10 months ago
Sociology,
10 months ago