Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
12
Task/Unix-ls/Java/unix-ls-1.java
Normal file
12
Task/Unix-ls/Java/unix-ls-1.java
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package rosetta;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
public class UnixLS {
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
Files.list(Path.of("")).sorted().forEach(System.out::println);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue