Generics Type Parameters and Casting - What are Generics in Kotlin?

Опубликовано: 24 Март 2026
на канале: Programming with Alex
88
1

Kotlin and Android Full Course: https://www.udemy.com/course/kotlin-m...

What are generics in Kotlin?
Often generics in Kotlin can be very confusing for a beginner, but that shouldn’t be the case. In this video we will see what is the generics syntax, why use them, and when to use them. Generics are a very cool feature in Kotlin that allows us to have more flexibility with our code, and this shouldn’t be surprising, but we already used generics in Kotlin.