Quiz 5
1. What is the return value of 'myObject.also { ... }'?
2. Which annotation helps Java callers use Kotlin functions with default arguments?
3. Which annotation makes an internal member accessible to public inline functions?
4. What is the primary difference between Flow and SharedFlow?
5. What does 'ABI' stand for in the context of Kotlin library development?
6. Which class would you use to prevent a memory leak in a listener in Kotlin/JVM?
7. What is the name of the modern Kotlin compiler frontend?
8. Which keyword is used to mark a function implemented in native code (JNI)?
9. Why is 'val list = obj as List<String>' dangerous?
10. What is the effect of the '@Volatile' annotation?
Previous Next