Sail E0 Webinar
Question
Which of these class contains the methods print() & println()?
Options:
A .  System
B .  System.out
C .  BUfferedOutputStream
D .  PrintStream
Answer: Option D


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers