Print / Println Practice Lab

Read the code, predict exactly what it prints.

One rule that applies to every problem below: if the code's very LAST statement is println, Java moves the cursor to a new line after printing - even though nothing else prints there. To be exact, press Enter one more time at the very end of your answer to represent that. If the last statement were print instead, you would NOT add that extra Enter.

0 of 10 solved