Resource Cleanup
Using try, catch and finally blocks for resource cleanup is tedious and error-prone. In fact, Kotlin has a library functions that could help us to manage cle...
Using try, catch and finally blocks for resource cleanup is tedious and error-prone. In fact, Kotlin has a library functions that could help us to manage cle...
What is Nothing in Kotlin? Does it even exist? A Nothing return type indicates a function that never returns. This is usually a function that always throws a...
Check Instructions are like assert - they act like a constraints that must be met before it could proceed. Usually, they are used to validate function argume...
Failure is always a possibility
Companion Object
Inner class
What is object
Nested Class