We read your photo as:

What is the fundamental data type in Kotlin for whole numbers?

Computer Science

ScanSolve AI Answer

Answer

: *Int

The question asks to identify the fundamental data type in Kotlin used to represent whole numbers.

The provided example demonstrates this:

// Example Kotlin declaration
val number: Int = 10

In this example, Int is explicitly used as the data type for the variable number, which is assigned the whole number value 10.

Therefore, the fundamental data type in Kotlin used to represent whole numbers is Int.

The answer is: Int

Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question