Of course, if u create a new File object, then if ur specified file is not in the directory, then it is created as u specify in the parameter of the constructor...
It's very simple to create a new file in
Java...

Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0