Multiple choice

What is the 'out' in the System.out.println() statement in Java?

  1. PrintWriter class object defined in System class

  2. Bufferwriter class defined in System class

  3. System class object

  4. PrintStream class defined in System class

  5. BufferReader class object

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

It is an object PrintStream class defined in System class. 'out' is declared as public, static and final.