Home » JAVA Programming » Files and I/O » Question
  1. Which of these class contains the methods print() & println()?
    1. BUfferedOutputStream
    2. PrintStream
    3. System
    4. System.out
    5. None of these
Correct Option: B

print() and println() are defined under the class PrintStream, System.out is the byte stream used by these methods .



Your comments will be displayed only after manual approval.