July 2018
Intermediate to advanced
242 pages
8h 6m
English
In this recipe, we are going to learn how to easily create a new File and write text to it by appending its content a number of times. We are going to use the File.appendText() extension function offered by the standard library. Then, we are going to verify whether the file was successfully created and whether it contains the proper content by printing it to the console.
Read now
Unlock full access