Quiz: Kotlin Fundamentals

Test your understanding of the concepts discussed in this chapter.

1

What will the following Kotlin code print?

fun main() {
    val hexBytes = 0xA4_D6_FE_FE
    println(hexBytes)
}
A)

2765553406

B)

0xA4_D6_FE_FE

C)

A4D6FEFE

D)

It will throw an error.

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.