Multiple choice

Which of the following stream classes in Java creates and maintains a buffer for an input stream?

  1. FileInputStream

  2. FileOutputStream

  3. BufferedInputStream

  4. DataInputStream

  5. DataOutputStream

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

This stream class in java creates and maintains a buffer for an input stream.