It have 4 component
let A is variable
B is variable
C is variable
D is variable
Path is directery's file
1. FileInputStream A = new FileInputStream( Path );
2. DataInputStream B = new DataInputStream( A );
3. InputStreamReader C = new InputStreamReader( B );
4. BufferedReader D = new BufferReader( C );
In 4 step, you can connect the file in java.
Finally, you must close the file with command
D.close()
thank you :3
ReplyDelete