Learn how to work with files i.e., reading, writing and deleting, files and folders, etc. Also, learn how to make API calls, parse the incoming response, and so on.
Learn how to work with files i.e., reading, writing and deleting, files and folders, etc. Also, learn how to make API calls, parse the incoming response, and so on.
- FileWriter - this class is useful to create a file by writing characters into it
- `FileWriter` - this class is useful to create a file by writing characters into it
- FileReader - this class is useful to read data in form of characters from file
- `FileReader` - this class is useful to read data in form of characters from file
- `Files.lines(Paths.get("file.txt")))` - processing the files as a stream. Since Java 8
- `Files.readString / Files.writeString` - reads the whole file and puts it into a string - since Java 11
Visit the following resources to learn more:
Visit the following resources to learn more:
@ -11,3 +13,5 @@ Visit the following resources to learn more: