Given the code
fragment:
int b = 3;
if (!(b > 3)) {
System.out.println("square ");
}
{
System.out.println("circle ");
}
System.out.println("...");
What is the
result?
A.
square…
square…
B.
circle…
circle…
C.
squarecircle…
squarecircle…
D.
Compilation fails.
Compilation fails.
square
circle
...
Nessun commento:
Posta un commento