#7.9 Kotlin TAILREC Function

Course: Kotlin Programming for Beginners - II

Android Android SDK Beginners Code Computer Skills Mobile Development

Kotlin TAILREC Function.

Kotlin Android Tutorial. Unlike Java, C++ or C, in Kotlin there exists TAILREC functions that implement recursion without affecting the Stack Memory of your application. So the exception such as StackOverflow exception is avoided.