How would you list all of the files and folders in a directory, marking directories with "DIR" and showing file sizes in KB?
Using Paths.get
Paths.get
Using File and its listFiles method
File
listFiles
Using FileInputStream
FileInputStream
Using FileWriter
FileWriter