java tutorial - How to create a file in Java - java programming - learn java - java basics - java for beginners
Learn java - java tutorial - How to create a file in Java - java examples - java programs
- File.createNewFile() It is used to create a new empty file atomatically and this name is abstract pathname and then if a file with this name does not exist.
- File.createNewFile() Method returns true if the named file does not exist and it creates successfully; if the named file is already exists it returns false.