fr
fr

21 interview questions on Kotlinfor developers (2025)

Test your technical skills before an interview of Kotlin with 21 corrected questions. Beginner, Intermediate or Expert level.

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
3812
To review
29
21 questions
Hard
10 votes812 runs0 comment

How to flatten a list of lists in Kotlin

Anonymous authorat Jan 18, 2022
Easy
6 votes736 runs1 comment
Easy
5 votes737 runs0 comment
Medium
4 votes612 runs0 comment
Medium
3 votes646 runs
1 comment

Write a Kotlin program that evaluates an arithmetic expression.

Mobile developer
kotlin
data class
sealed class
Anonymous authorat Jan 18, 2022
Expert
2 votes777 runs0 comment
Easy
2 votes617 runs0 comment

Write a Kotlin code that prints 7 to the console.

Mobile developer
list
filter
drop
Anonymous authorat Jan 18, 2022
Easy
2 votes615 runs0 comment

Print the value of a nullable string in Kotlin

Mobile developer
kotlin
null-safety
Anonymous authorat Jan 18, 2022
Easy
2 votes611 runs1 comment
Medium
2 votes609 runs1 comment

How to add a new element to a list of Kotlin data class

Mobile developer
kotlin
data class
inheritance
Anonymous authorat Jan 18, 2022
Hard
1 vote658 runs0 comment

Use destructuring to extract the name and age of a User object

Mobile developer
data class
destructuring
Anonymous authorat Jan 18, 2022
Hard
1 vote615 runs0 comment

Add a secondary constructor to a Kotlin class

Mobile developer
constructors
inheritance
Anonymous authorat Jan 18, 2022
Medium
0 vote654 runs
1 comment

Convert an Int to a Long in Kotlin

Mobile developer
kotlin
type conversion
Anonymous authorat Jan 18, 2022
Medium
0 vote613 runs1 comment

How to use the lazy keyword in Kotlin

Anonymous authorat Jan 18, 2022
Medium
0 vote475 runs0 comment

Write a valid call to the function reformat in Kotlin 1.3

Mobile developer
functions
parameters
Anonymous authorat Jan 18, 2022