0

Java – Rename a file

renameTo

To rename a file , use the renameTo method in java.io.File.

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert