File Handling in Java
When the content in a file is going to copy,there is two way, 1.bit stream FileInputStream and FileOutputStream are used to copy the content 2.character stream FileReader and FileWriter are used to copy the content in the text file into another In these cases finally the files should be closed after checking the files are null or not.