Computer Science, asked by Siddharth1067, 10 months ago

which class is used to write a stream object in a file​

Answers

Answered by straightvision89
4

Answer:

Java FileWriter and FileReader classes are used to write and read data from text files (they are Character Stream classes). It is recommended not to use the FileInputStream and FileOutputStream classes if you have to read and write any textual information as these are Byte stream classes.

Answered by Anonymous
5

Java FileWriter and FileReader classes are used to write and read data from text files (they are Character Stream classes). It is recommended not to use the FileInputStream and FileOutputStream classes if you have to read and write any textual information as these are Byte stream classes.

thanks..

Similar questions