Multiple choice

Which of the following methods 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 I explained all of the methods are defined in the Input Stream class. So this is the correct choice.