Name the extension methods Kotlin provides to java.io.File?
Answer / Amar Deep Nayak
Kotlin provides extension functions for java.io.File such as 'exists', 'isDirectory', 'isFile', 'readText', 'writeText', 'copyTo', and 'delete'
| Is This Answer Correct ? | 0 Yes | 0 No |
Define String datatype with example in Kotlin?
List some of the key modifiers in kotlin?
How is a function declared? Why are Kotlin functions known as top-level functions?
How do you differentiate var and val in Kotin?
Define Lambda Function in Kotlin?
What is companion object?
How to handle null exceptions in Kotlin programming?
Why is kotlin preferred over java?
What are the features available in kotlin but not in java?
What are the modifiers that are available in kotlin?
How many constructors are available in Kotlin?
Give me name of the extension methods Kotlin provides to java.io.File