Where is the type overflow possible?

Report a typo

Imagine that you have a variable of the Double type. You need to convert it to other types.

val d: Double = ... // it has some value

val i = d.toInt()    // 1
val s = d.toString() // 2
val f = d.toFloat()  // 3

Select one or more lines where type overflow is possible.

Select one or more options from the list
___

Create a free account to access the full topic