This little program demonstrate how to rename a file in Java. The code Takes original file name and renamed file name as parameter Checks whether the file exists Checks whether the input file provided is a directory Renames a file if it exists and is not a directory Throws an … Continue reading
↧