Sobes.tech
Middle+

How many types of instances does Nothing have in Kotlin?

sobes.tech AI

Answer from AI

One. The type Nothing is the "bottom" type in the Kotlin type hierarchy, which has no values. It is used to denote cases where an expression never completes normally, such as in functions that throw exceptions or enter an infinite loop.

How many types of instances does Nothing have in… - sobes.tech