Kotlin Generics Explained with Example

preview_player
Показать описание
In this video "Kotlin Generics Explained" we will learn about generics in Kotlin. Generic is a powerful feature of any object oriented programming and using it we can define classes or functions that can work with different data types.

0:00 Introduction?
0:20 Kotlin Generics, Why?
4:20 Kotlin Generics Explained
7:38 Generic Function
8:42 Multiple Typed Parameters

If you are having difficulties navigating from one lesson to another, then click on this link and it will open the complete playlist of this Kotlin Object Oriented Programming. In this playlist all lessons are already arranged in chronological order.

All the codes about this Kotlin Android Tutorial for Beginners are organized sequentially in this repository

And if you need more support, then you can join the Simplified Coding’s Quora Space to post your questions.

If you want to get in touch with me; you can find my contact details here:

Finally, If you love my content please SHARE my courses to your friends. You can share this course to your Facebook, WhatsApp etc.

For more contents related to Software Development visit my website.

You can SUPPORT me if you want
👉 PayTM (India Only): +917549161079

You can also check some of my other courses from these links

❤️❤️ Thank You All for the Love and Support ❤️❤️

#KotlinOOP
#OOPsConcept
#LearnKotlin
Рекомендации по теме
Комментарии
Автор

For the first time, I really understand generics. Thanks a lot

FemiOkedey
Автор

Add a video on covariance, contrravariance, invariant.

vengateshm
Автор

You are a brilliant teacher Bilal. Thanks to you now I understand generics.

DSW
Автор

When to use <out T> & when only <T>

milon
Автор

I couldn't understand this concept even after going through the docs. Thank you for this simplified version.

kevgits
Автор

I don't know how to tell you my gratitude but, I love you sir, thank you

decloudius
Автор

Thank you so much! Your vidios are so useful for me (and for other I guess). You made my coding live more better, I mean it! With love from Russian 💪👍

GriNAME
Автор

Thanks Belal for the kotlin tutorial series 😃🙏

nishu
Автор

Great video, do you have a video on usage of covariance and contravariance?

gilong
Автор

very good feature of kotlin. Thanks for the info,

Sumitmaurya
Автор

What a great teacher! keep up the good work, thanks a lot man!

janadonis
Автор

Covariance and Contravariance what about this?

mdjahidulislam
Автор

wow great explanation with example!!! 😍

kpranjith
Автор

As in java for we compair int value using == like 1==1 but for string we compair using equals() like str1.equals(str2) so in kotlin for string == work

jkeriatamboli
Автор

Can we use Any instead T ?
Because Any is the class which is extended by all classes in default?

vengateshm
Автор

Are generics for beginners intermediate or pros? Because this seems like a difficult concept to grasp for me :(

MisterWealth
Автор

How can we achieve the same using pojo class as T ?

positive_vibes_alone
Автор

How to upload .db file (Of SQLite Database) to user's Google Drive?, in Kotlin?

nocompromise