Sail E0 Webinar

MCQs

Total Questions : 51 | Page 6 of 6 pages
Question 51.

Which of these class contains the methods print() & println()?


  1.    System
  2.    System.out
  3.    BUfferedOutputStream
  4.    PrintStream
 Discuss Question
Answer: Option D. -> PrintStream

 print() and println() are defined under the class PrintStream, System.out is the byte 

Latest Videos

Latest Test Papers