Computer Science, asked by pranshusharma9868, 4 months ago

Name the File Stream class to perform the following operations :- [2]

i) To write data to a text file.

ii) To read data from a Binary file.​

Answers

Answered by aarunya13
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.

Similar questions