Multiple choice

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

  1. read(byte[ ] b)

  2. mark(int limit)

  3. read()

  4. both 1 and 2

  5. all of these

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

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