Question

 Briefly explain different stream classes in java. Also write a java program to print the Data stored in a file. 

27 Apr 2023
Answer :
Word Count : 332

In Java, stream classes are used for input and output operations, allowing data to be read from or written to different sources. There are various stream classes available in Java. Here are some commonly used stream classes:

  1. FileInputStream and FileOutputStream: These classes are used for reading data from and writing data to files in a byte-oriented manner. They are used to handle binary data.

  2. FileReader and FileWriter: These classes are used for reading and writing text data from and to files. They handle character-oriented operations and are suitable for reading and writing text files.

  3. BufferedReader and BufferedWriter: These classes provide buffering capabilities and improve the efficiency of reading and writing operations by reducing disk access. They are used in conjunction with other input

__________ _________ __________ ___ _________ _______ _________ ___ ___ _______.
________ ______ ______ ___ ______ __________ ______ ____ ____.
__________ ___ ____ _______ ______ __________ _______ ________ _______.
___ __________ _________ _______ _____ _____ ___ ___ ______ ___ __________.
_______ ___ _____ _______ _____ ________ _________.
________ ________ ______ ___ _________ ______ _____ ________ ___ __________ ___.
_______ _________ __________ ___ ________ ________ ________ _______ _______.
____ _____ _________ ______ _______ __________ ___ ______ _______ _________ _________ ______.
_________ ___ ________ ____ _____ _________ _________ ____ ______.
__________ __________ _______ ______ _______ ___.
____ _______ ____ ____ ___ ________.
__________ __________ ________ ____ ______ ________.
_______ ____ ____ ____ _____ ___ __________ ____ ______ ________ _________.
______ _______ ____ _____ ________ ____ _____ __________.
_____ _______ _______ _________ ________.
_____ ______ __________ __________ ________.
______ ________ _____ _________ _______ ________.
_________ ____ ____ _____ ____ ____ ______ ______.
________ __________ _______ ___ _____ ________ _________ __________ ___ ___ _____ _______.
____ ____ ________ _________ ______ ___.
______ ____ ________ ______ ____ _____.
______ _____ _______ _____ _____ ______ ______ __________.
___ ____ ________ _______ _____ __________.
________ _______ ____ ____ ____ ________ ______ __________.
_________ ________ ____ _____ _______ ___ _______ ___ ______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 206 2022 2023 -  Briefly explain different stream classes in java. Also write a j | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→