MCQ
Which method is used to display result in Java?
  • A
    System.out.print
  • B
    System.out.println
  • A and B both
  • D
    None of these

Answer

Correct option: C.
A and B both
and both

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free