📜  您如何使用 Java 从文件中写入或读取数据? - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:22.363000             🧑  作者: Mango

代码示例1
Read data: I can use classes bufferedReader and bufferwriter. 
Lets say I have a text in Java.
I use bufferedReader to read the files if it is a random file 
bufferedReader is only the functionality to read a file.
For, Excel files I use the special library, Apache POI library. 
These are external libraries. 
I use properties class to read the properties files. 
Scanner class also for read the data from files