All Stories

Kotlin - no_image

## Collection(Kotlin)

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

Inline keyword

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

GenericsGeneric programming is a way of writing our code in a flexible manner like we would in a dynamically-typed language. At the same time, generics allow us to write code safely a...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

Enum in Kotlin

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

Reduce reduce method transforms a given collection into a single result. It takes a lamda operator to combine a pair of elements into a accumulated value.It then traverses the co...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - nullability_compile_time_error

Describe nullability and null safetyNullability is the ability of a variable to hold a null value. When a variable contains null, an attempt to dereference the variable leads to a Nul...

In tutorial, nullability_compile_time_error, kotlin, Jan 23, 2025

Kotlin - no_image

Constructors invocation orderSuppose we have next code:```open class Parent {

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - no_image

## Default method in kotlin interfaceBefore getting into Kotlin default method in interface ,lets go through the default interface mthod in Java which was introduced in Java 8 and ...

In tutorial, no_image, kotlin, Jan 23, 2025

Kotlin - crossinline

Crossinline keyword

In tutorial, crossinline, kotlin, Jan 23, 2025

Code - no_image

How to create empty constructor for data class? Click to expand! If you give default value to all the fields - empty constructor is generated automatically by Kotlin: ``` data c...

In tutorial, no_image, kotlin, Jan 23, 2025