Sail E0 Webinar
Question
Which of these is method is used for writing bytes to an outputstream?
Options:
A .  put()
B .  print()
C .  printf()
D .  write()
Answer: Option B


write() and read() are the two main methods of OutputStream & InputStream respectively that are used for printing and reading the byte data.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers