aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Applet and GUI Programming
  • Which of the following methods of InputStream class retur...
Multiple choice

Which of the following methods of InputStream class returns the number of bytes that are available for reading from the input stream?

  1. read()

  2. available()

  3. close()

  4. None of these

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

This is the method of InputStream class, which returns the number of bytes available for reading from the input stream.

Keep practicing — related questions

  • Which of the following methods is/are defined in InputStream class of Bytes Stream?
  • Which of the following methods is/are defined in InputStream class of Bytes Stream?
  • Which of the following methods is/are defined in the InputStream class of Bytes Stream?
  • Which of the following methods is/are defined in InputStream class of Bytes Stream?
  • Which of the following methods are defined in InputStream class of Bytes Stream?
  • Which of the following methods in ObjectInput interface returns the number of bytes that are now available ...
  • Which of the following methods of Process class in Java returns an input stream that reads input from the p...
  • Which of the following methods of Process class in Java returns an input stream that reads input from the p...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy