Chapter 13: Problem 12
Write a Java program to accept one parameter on the command line. If there are no command line arguments entered, the program should print the error message and exit. The program should check whether the input is a directory. And also display the names of files in the directory.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.