Kotlin Class Definition, init Block and Primary Constructor. Object Oriented Kotlin for Android #8.1
Вставка
- Опубліковано 15 жов 2024
- Access 7000+ courses for 15 days FREE: pluralsight.px...
Kotlin Android Tutorial for beginners. Learn about Object oriented concepts in Kotlin such as Class, Objects, init block, properties, and Primary Constructors.
Source code files : bit.ly/2QtcUWR
Next Video : • Kotlin Secondary Const...
Previous Video : • Kotlin TAILREC Functio... .
.
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 ---
watching after 6 years still one of the best.
I rarely ever subscribe to tutorial channels but this was REALLY good and clear
Thanks for making this video! I was confused because I saw parameters with and without val/var, so I would wonder what's the difference? Now I know. Keep up the great work. I was here to learn about init block but learned more than that.
This helped me understand how constructors work. Thanks
print("m3alem a3chiri hhh lah i7afdak" ) = thanks alot
Why do teachers go with one way of ordering the syntax/logic then go to the "cleaned" version of it? Just go with clean, most efficient version & explain it otherwise it just causes unnecessary confusion and thinking
Because that called basics and without fully understanding it you get in trouble all da time.
what is constructor? How many types of constructor are here in kotlin? I'm little bit confuse here.
Additional note: in official doc "If the primary constructor does not have any annotations or visibility modifers, the
constructor keyword can be omitted." So you can't omit "constructor" keyword if you declared any access modifiers or annotations.
he said that shortly before he omitted it
thanks, do you have a UDEMY Couse??
man i love this tutorial,going with it to the end.
Tailrec rocked!!!
Kotlin rocks
Thank you. Do not forget to visit www.smartherd.com/
Why we use init Block if we got the same input if we don't use it ??
It's meant for more complex initialization logic
What is the real use of init() block in programming
the code that is executed after creating the object directly
Hello, good tutorial, but there should be complete OOP concept tutorial All type of classes,interfaces,keyworkds,methods types,etc please uplod complete series specialy on OOP kotlin with real example thank you.
Bro it's already there
Check video description for all course links
Very nice presentation! Thank you lot !
Super Thank you Very much
You got a cool name!
Great tutorial thank you
thank you
Can someone please make a video on Kotlin without referring to Java?
Great video
amazing tutorial, right :))
You are the Savier !!!!
great tutorial, thx
Nice
do u work for idea
Yes
sir, can you create one application using kotlin ?
Thanks sir
Good tutorial but would be better if you stopped comparing kotlin and java all the time. Some of us like who have not come from a java background then find it hard to understand. Thank you!
how about abstract classes?
You should have assumed that some people watching this dont know Java at all.
Like below every video!
I am here 2020
Poo in the street programming