Exercise
Display directory
Objetive
Create a program that shows the files in the current folder.
Example Code
public class DisplayDirectory
{
static void main(String[] args)
{
String[] files = (new java.io.File(".")).list(java.io.File::isFile);
for (String file : files)
{
System.out.println(file);
}
}
}