Question: Java Program. Please Help I am new to Java and am struggling. Operation The application prompts the user to enter a path. Then, the application
Java Program. Please Help I am new to Java and am struggling.
Operation
The application prompts the user to enter a path. Then, the application checks whether the path exists on the current computer. If so, the application checks whether the path is a directory or a file and displays an appropriate message. Otherwise, it displays a message that indicates that the path doesnt exist.
Console Welcome to the Path Checker Enter a path: /murach That path points to a directory Continue? (y): y Enter a path: /uurach/javanetbeans/files/products.txt That path points to a regular file Continue? (r): Y Enter a path: /bad That path does not exist Continue? (y): n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
