What will be the output?

Report a typo

What do you expect the output of helloWorldFilesNames to be in the following code snippet?

val helloWorld = File("/Files/CompletedProjects/HelloWorld")
val helloWorldFilesNames = helloWorld.listFiles().map{it.name}
Select one option from the list

Create a free account to access the full topic