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 3

  5. all of these

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

As explained, all of the methods are defined in the Input Stream class.So this is the correct choice.