Ask for inheritance
Inheritance is a mechanism for creating a new class by reusing and modifying an existing class.
Inheritance is a mechanism for creating a new class by reusing and modifying an existing class.
What is recursion?
fold() combines all elements of a list, in order to generate a single result. Here is how we can use fold() to calculate the sum -
What exactly is local function? It was new to me in Kotlin and thought it is interesting to dig deeper. In a normal class, we have many functions within a cl...
What is Sequence? A Kotlin Sequence is like a List, but you can only iterate. You cannot index into Sequence. And this restriction produces very efficient ch...
List Manipulation
What is it? If you are coming from JavaScript, this concept may sound familiar to you. Otherwise, here is what it means.