Multiple choice

Which of the following stream classes in Java is an output stream that contains methods for writing the Java standard data types?

  1. DataInputStream

  2. DataOutputStream

  3. PushbackInputStream

  4. None of these

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

This is an stream class in Java is an output stream that contains methods for writing the Java standard data types.