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
3813
To review
35
21 questions
Hard
11 votes818 runs0 comment

How to flatten a list of lists in Kotlin

Anonymous authorat Jan 18, 2022
Easy
6 votes742 runs1 comment
Easy
5 votes743 runs0 comment
Medium
4 votes618 runs0 comment
Medium
3 votes652 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 votes783 runs0 comment
Easy
2 votes623 runs0 comment

Write a Kotlin code that prints 7 to the console.

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

Print the value of a nullable string in Kotlin

Mobile developer
kotlin
null-safety
Anonymous authorat Jan 18, 2022
Easy
2 votes617 runs1 comment
Medium
2 votes615 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 vote664 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 vote621 runs0 comment

Add a secondary constructor to a Kotlin class

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

Convert an Int to a Long in Kotlin

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

How to use the lazy keyword in Kotlin

Anonymous authorat Jan 18, 2022
Medium
0 vote481 runs0 comment

Write a valid call to the function reformat in Kotlin 1.3

Mobile developer
functions
parameters
Anonymous authorat Jan 18, 2022