Solved

What Is the Last Output Line of the Code Snippet

Question 84

Multiple Choice

What is the last output line of the code snippet given below?
Int i = 0;
While (i < 10)
{
Int num = 1;
For (int j = i; j > 1; j--)
{
System.out.print(j + " ") ;
Num = num * 2;
}
System.out.println("***") ;
I++;
}


A) 3 2 ***
B) 9 8 7 6 5 4 3 2 ***
C) 8 7 6 5 4 3 2 ***
D) 2 ***

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions