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 ______ ________ __________ ____ ______ ______ ________ _______ ___.
    ________ _________ ____ _____ ________ ________ __________ _________ ____ ______ _____ ______.
    ________ ____ ________ ___ _______ ____ __________ ___ ___ ________ _______ _____.
    _____ __________ ___ _____ ________ ________ _______ _________ _________ _________ _____.
    ___ _____ ____ ______ ______ ______ ________ ________.
    ___ ________ _________ _____ _____ ___.
    __________ _________ ________ ________ __________ ____ _________ _______ ____.
    _________ __________ _________ _____ _______ _______ ________ _______ ______.
    _____ _____ _________ ____ __________ ____ _________ ____ ___ _______ _____.
    ____ _____ ______ _______ _________.
    ____ ____ _______ _______ ________ ______ _____ _____ ______ _____ ______ _____.
    ________ ____ ___ ____ _______.
    ________ _________ _________ __________ ___ __________ _________ ________ ____ __________.
    _____ ___ ______ _____ _________ ___ _________ ______ ________ _________ ______ ___.
    _____ ___ _____ ________ ________ __________ ________ _______.
    _________ _________ _________ ________ __________ ____ _____ ________.
    _________ __________ ________ _____ _____ ___ __________.
    __________ _____ ________ ____ ______ __________ __________ _________ ___ _________ _______ ____.
    _____ ___ ____ __________ ___ _______ __________ __________.
    _______ _______ __________ ____ ___ _______ _________ ______ ____.
    __________ ___ __________ __________ ___ _________ _________ __________.
    ______ ________ __________ _____ ______ _________ ___ ____ ________ ________.
    ____ _______ ___ ____ _______.
    _________ _________ ____ ________ _________ ____.
    ________ ________ ______ ___ _____ ____ ___ _______ _______.
    ______ __________ _______ ___ __________ ______ ________ _______ ____ ________ ____.
    _____ _________ ________ ______ _________ _____.
    ______ _______ _______ __________ _________ ____ ______ ____.
    ______ ____ _____.
    Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance  Briefly explain different stream classes in java. Also write a j
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support