Тёмный
No video :(

Kotlin INTERFACE example. Kotlin object-oriented programming for beginners #8.9 

Smartherd
Подписаться 135 тыс.
Просмотров 44 тыс.
50% 1

Access 7000+ courses for 15 days FREE: pluralsight.px...
Kotlin android tutorial for beginners. Learn about Interface in Kotlin. How methods, variables are defined inside Interface and how to implement single and multiple Interface in a class. And how to deal with if there is a conflict of Interface.
Video code files : bit.ly/2QtcUWR
Next Video : • Kotlin DATA CLASS. Obj...
Previous Video : • Kotlin Abstract class,... .
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)
- Patreon: bit.ly/patreon...
- Paypal/Payoneer: sriyank123@gmail.com
- UPI (only for India): smartherd@okaxis
:: If you want to develop a website or a mobile app, email me your requirement at sriyank.siddhartha@gmail.com :: Free demos provided beforehand ::
- Access my premium courses: bit.ly/sriyank...
Free Programming courses:
- Ruby Programming: bit.ly/smyt-r
- Dart Programming: bit.ly/smyt-d
- Kotlin Programming: bit.ly/smyt-k
- Java Programming: bit.ly/smyt-j
- Kotlin Coroutines: bit.ly/smyt-coru
Free Flutter course:
- Flutter App Development: bit.ly/2Rg7EFR
Free Android courses:
- Android using Kotlin: bit.ly/smyt-ka
- Android using Java: bit.ly/smyt-ja
- Android Material Design: bit.ly/2SMJqU6
- Android Jetpack Architecture: bit.ly/yt-j
- Android Multiple Screen Support: bit.ly/smyt-mss
- Android Retrofit: bit.ly/2Ee6GHn
More free programming courses:
- bit.ly/smy-list
Check out my website:
- bit.ly/smartherd
Let's get in touch! [Sriyank Siddhartha]
LinkedIn: bit.ly/sriyank...
Facebook: bit.ly/smarthe...
Instagram: bit.ly/sriyank...
Twitter: bit.ly/sriyank...
Github: bit.ly/smarthe...
--- Thank you for your love and support ---

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@rameshpithiya9723
@rameshpithiya9723 4 года назад
I just dropped the plan to learn kotlin because lack of some good resources but when i found your tutorials i am again putting my hands on it. Awesome experience in your tutorials.
@thomasbartke
@thomasbartke 4 месяца назад
Awesome and very clear explanation! Thank you! The only thing you skipped is talk about why Kotlin (as opposed to Java) only allows a single abstract method in an interface. Still looking for that explanation...
@ashwyllsolutions1480
@ashwyllsolutions1480 2 года назад
This guy knows how to irrigate his community of developer herds with knowledge. Highly recommend for new pie and experienced java developers. Kotlin is more fun than java.
@Effectivebasketball
@Effectivebasketball 3 года назад
Thank you, and I will dream about the word "simply" for a year now. I may never recover after this.
@nicodraven9180
@nicodraven9180 3 года назад
pro tip : watch movies on flixzone. Been using it for watching lots of of movies these days.
@boonematias4131
@boonematias4131 3 года назад
@Nico Draven Yup, been watching on flixzone for since december myself :D
@kharishepard4269
@kharishepard4269 3 года назад
@Nico Draven yea, I have been using Flixzone for since december myself :)
@jaxsonkareem5738
@jaxsonkareem5738 3 года назад
@Nico Draven yup, have been using Flixzone for years myself :)
@renanfpedro
@renanfpedro Год назад
Man, you are a genius teaching
@bunthaideng2492
@bunthaideng2492 4 года назад
What an awesome explain!!! #Respect the lecturer
@vladopris1172
@vladopris1172 4 года назад
If one class can inherit 2 interfaces, and solve the diamond problem by calling super.commonMethod(), why not a class can inherit 2 normal or abstract classes and solve the diamond problem with the same solution?
@abdulwahabhassan5651
@abdulwahabhassan5651 3 года назад
I like how he says "This compiler is not happy" whenever the compiler throws an error lol
@smartherd
@smartherd 3 года назад
😀
@2chotti
@2chotti Год назад
thank you
@blackballization
@blackballization 4 года назад
In java it's allowed to create instance of the interface why it's not the same to java?
@Kepler57
@Kepler57 3 года назад
You're beast. Thumb up
@iJuce
@iJuce 3 года назад
Thanks for the tutorial, very easy to follow.
@viditchawda4268
@viditchawda4268 2 года назад
amazing vedio i really liked it , great job sir
@sumandas3227
@sumandas3227 2 года назад
Wow !!!! excellent explanations .Thank you sir :)
@manuelanthony3791
@manuelanthony3791 3 года назад
how easily sriyank sir explained
@nanskuttikuttithings8547
@nanskuttikuttithings8547 3 года назад
Thanku so much
@mrbrain2k
@mrbrain2k 2 года назад
perfect explanation
@pitter6282
@pitter6282 3 года назад
pretty well explaination
@adeyinkaoduwole6557
@adeyinkaoduwole6557 4 года назад
Thanks for this. It was helpful
@anurajms
@anurajms 3 года назад
great explanation. ty
@saifaliee
@saifaliee 4 года назад
thanks for the tutorial bro
@krishnacreation9211
@krishnacreation9211 Год назад
How to take refernece of interface in variable
@GameCrawl
@GameCrawl 3 года назад
so what is the difference between abstract class and interface?
@freecountdummy4623
@freecountdummy4623 4 года назад
Hi, I'm new in kotlin. I get confused about "Interfaces in Kotlin can contain declarations of abstract methods, as well as method implementations. What makes them different from abstract classes is that interfaces cannot store state" What does that means? what is different between method with body in interface and abstract class? Thank you for such a great video
@feepin2058
@feepin2058 4 года назад
Well it means that abstract classes can hold datas while interfaces are just bunch of methods
@engmohamed6819
@engmohamed6819 3 года назад
Good job, but I think each property in interface is open if u initialize it but when u create it without initialization it will be abstract by default. But when I practice I found that interface can’t hold any initialized value but it can hold function with body I don’t know why. So if u know why I’ll appreciate your explain. :)
@code8294
@code8294 2 года назад
Because Properties declared in interfaces can't have backing fields
@tadiyal04
@tadiyal04 4 года назад
Hi Sriyank i have query, if we have two interface with same abstract method when we implement these two interface than override that method is going well but when i run app its showing error( Exception in thread "main" kotlin.NotImplementedError: An operation is not implemented: Not yet implemented )
@pranavsubramanian2549
@pranavsubramanian2549 2 года назад
Because of TODO("Not yet implemented") you must remove this line
@ranganafernando511
@ranganafernando511 5 лет назад
Great video
@personalchaoyu8732
@personalchaoyu8732 5 лет назад
i m grateful
@brucebane7401
@brucebane7401 3 года назад
amazing!!!
@tadiyal04
@tadiyal04 4 года назад
fun main(args:Array) { var v = MyClass() v.playButton() v.stopButton() } interface FirstInterface { fun playButton() fun stopButton(){ println("First Interface Player Stopped") } } interface SecondInterface { fun playButton() fun stopButton(){ println("Second Interface Player Stopped") } } class MyClass : FirstInterface,SecondInterface { override fun playButton() { TODO("Not yet implemented") } override fun stopButton() { super.stopButton() super.stopButton() println("Normal Interface Player Stopped") } }
@prashantmehta2950
@prashantmehta2950 6 лет назад
Does super keyword is used only in overriding method?
@kaustubhtrivedi5403
@kaustubhtrivedi5403 5 лет назад
can use anywhere it refers to object of superclass
@61keystomusic29
@61keystomusic29 5 лет назад
Is there an equivalent code for super.onClick() in Java?
@thehellcat
@thehellcat 5 лет назад
In java such situation is impossible because it will throw an exception in case of two default methods with same signature in different interfaces
@SeraphimTech_io
@SeraphimTech_io 6 лет назад
thx awesome
@smartherd
@smartherd 6 лет назад
Cool
@hicham3341
@hicham3341 7 лет назад
gooooooooooooooooooooood ++++++++++++
@saurabh75prakash
@saurabh75prakash 5 лет назад
Thanks for the tutorial, very easy to follow.
@bayraminanc5979
@bayraminanc5979 7 лет назад
amazing!
Далее
ПОЁМ НАРОДНЫЕ ПЕСНИ🪗
2:04:11
Просмотров 1,1 млн
What are Kotlin Interfaces Used For and Why?
8:36
Просмотров 5 тыс.
Object Oriented Programming (OOP) in C++ Course
1:30:26
I FOUGHT A BOT STRONGER THAN MITTENS!!!!
26:44
Просмотров 258 тыс.
Java Functional Programming | Full Course
2:22:15
Просмотров 566 тыс.