Kotlin - Functions
Which of the following is the correct way to declare a simple function named
greet in Kotlin that takes no parameters and returns no value?greet in Kotlin that takes no parameters and returns no value?fun to declare functions. Options using function or def are incorrect.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions