Home › MCQs › Java Programming › Module 3: Input and Output - Final Quiz
Back to Topics
PRACTICE • LEARN • GROW

Module 3: Input and Output - Final Quiz MCQs

Solve topic-wise placement questions and improve your skills.

Module 3: Input and Output - Final Quiz Progress
0 of 11 completed
0% Topic Track
You are viewing MCQs in preview mode. Log in to select options, submit answers, and track your progress.
Log In to Answer
1
What is the primary operational difference between System.out.print() and System.out.println()?
A. print() outputs text in red while println() outputs in green
B. print() leaves the console cursor on the same line, whereas println() appends a newline character moving the cursor to the next line
C. println() only accepts String literals while print() accepts numbers
D. print() flushes the buffer immediately while println() never flushes

Question Palette

Answered
Current
Not Attempted
Wrong

Quick Actions

Yukti Mascot