Question: Write a program that prompts the user to enter a directory name and creates a directory using the File's mkdirs method. The program displays the
Write a program that prompts the user to enter a directory name and creates a directory using the File's mkdirs method. The program displays the message "Directory created successfully" if a directory is created or "Directory already exists" if the directory already exists
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
