aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java I/O Streams
  • Which of the following methods is/are defined in the Inpu...
Multiple choice

Which of the following methods is/are defined in the InputStream class of Bytes Stream?

  1. read(byte[ ] b)

  2. mark(int limit)

  3. read()

  4. both 1 and 3

  5. all of these

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

All of the methods are defined in the Input Stream class. So this is the correct choice.

Keep practicing — related questions

  • Which of the following methods of InputStream class returns the number of bytes that are available for read...
  • Which of the following methods is/are defined in the OutputStream class?
  • Which of the following methods is/are defined in OutputStream class?
  • Which of the following methods are defined in OutputStream class?
  • Which of the following methods is/are defined in the OutputStream class?
  • Which of the following methods are defined in OutputStream class?
  • Which of the following ByteStream classes contains methods for reading Java standard data types?
  • Which of the following stream classes is an input stream that contains methods for reading the java standar...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy