open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
Kotlin · Intermediate
10 questions · Question 1 of 10
10%
Multiple Choice
Mid
When to use lateinit over lazy initialization in Kotlin?
A
There are some simple rules to determined if you should use one or the other for properties initialisation: If properties are mutable (i.e.
B
Imagine an authentication method in an API that looks as follows: fun auth(userName: String, password: String) { println("authenticating $userName.") } Since both parameters are of type String, you may mess up their o...
C
Mutable and immutable list increase the design clarity of the model.
D
In Kotlin, you can concatenate 1.
Previous
Next