How to create an empty file in Java



This example shows how to create an empty file.
You just create a file object and then call its createNewFile() method.







Search for more Java info on this site here:
Custom Search


Please type any questions here.