Kotlin Class Definition, init Block and Primary Constructor. Object Oriented Kotlin for Android #8.1

Kotlin Class Definition, init Block and Primary Constructor. Object Oriented Kotlin for Android #8.1

Smartherd

7 лет назад

60,250 Просмотров

Access 7000+ courses for 15 days FREE: https://pluralsight.pxf.io/c/1291657/431340/7490

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 : https://bit.ly/2QtcUWR

Next Video : https://youtu.be/4i3bN80YkYM
Previous Video : https://youtu.be/J2We4LfGZhc .
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)
- Patreon: https://bit.ly/patreon-donate
- Paypal/Payoneer: [email protected]
- UPI (only for India): smartherd@okaxis

:: If you want to develop a website or a mobile app, email me your requirement at [email protected] :: Free demos provided beforehand ::

- Access my premium courses: https://bit.ly/sriyank-courses

Free Programming courses:
- Ruby Programming: https://bit.ly/smyt-r
- Dart Programming: https://bit.ly/smyt-d
- Kotlin Programming: https://bit.ly/smyt-k
- Java Programming: https://bit.ly/smyt-j

- Kotlin Coroutines: https://bit.ly/smyt-coru

Free Flutter course:
- Flutter App Development: https://bit.ly/2Rg7EFR

Free Android courses:
- Android using Kotlin: https://bit.ly/smyt-ka
- Android using Java: https://bit.ly/smyt-ja
- Android Material Design: https://bit.ly/2SMJqU6
- Android Jetpack Architecture: https://bit.ly/yt-j
- Android Multiple Screen Support: https://bit.ly/smyt-mss
- Android Retrofit: https://bit.ly/2Ee6GHn

More free programming courses:
- https://bit.ly/smy-list

Check out my website:
- https://bit.ly/smartherd

Let's get in touch! [Sriyank Siddhartha]
LinkedIn: https://bit.ly/sriyank-linkedin
Facebook: https://bit.ly/smartherd-facebook
Instagram: https://bit.ly/sriyank-instagram
Twitter: https://bit.ly/sriyank-twitter
Github: https://bit.ly/smartherd-github

---- Thank you for your love and support ----

Тэги:

#android #smartherd #kotlin #OOP #objects #class #constructors #primary_constructors #init_block #properties #kotlin_android #kotlin_tutorials #kotlin_tutorials_for_beginners
Ссылки и html тэги не поддерживаются


Комментарии:

Rahul Hawge
Rahul Hawge - 04.03.2023 14:07

thank you

Ответить
Ari
Ari - 14.07.2021 22:03

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.

Ответить
Akira
Akira - 02.04.2021 17:16

Like below every video!

Ответить
Racka N
Racka N - 22.02.2021 09:39

This helped me understand how constructors work. Thanks

Ответить
Syed Ahmed Raza Shah
Syed Ahmed Raza Shah - 16.10.2020 10:52

Nice

Ответить
James G
James G - 04.09.2020 00:36

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

Ответить
Felipe Franco
Felipe Franco - 24.07.2020 18:45

Great tutorial thank you

Ответить
Jay Garzon
Jay Garzon - 24.07.2020 16:45

I am here 2020

Ответить
chelobotix
chelobotix - 28.05.2020 06:19

thanks, do you have a UDEMY Couse??

Ответить
Yassine Ma
Yassine Ma - 10.05.2020 14:50

print("m3alem a3chiri hhh lah i7afdak" ) = thanks alot

Ответить
Pushkar Dey
Pushkar Dey - 10.05.2020 08:09

Can someone please make a video on Kotlin without referring to Java?

Ответить
Brandon Dela Cruz
Brandon Dela Cruz - 03.05.2020 10:48

You should have assumed that some people watching this dont know Java at all.

Ответить
12345charliebrown
12345charliebrown - 24.04.2020 13:27

Poo in the street programming

Ответить
Shreeniket Upasani
Shreeniket Upasani - 13.04.2020 05:58

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!

Ответить
Code For Tomorrow
Code For Tomorrow - 03.04.2020 20:24

Very nice presentation! Thank you lot !

Ответить
Silambarasan D
Silambarasan D - 13.12.2019 14:23

Super Thank you Very much

Ответить
Leaper
Leaper - 10.12.2019 19:10

I rarely ever subscribe to tutorial channels but this was REALLY good and clear

Ответить
Anl Egr
Anl Egr - 07.09.2019 17:14

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.

Ответить
Shahid Anjum
Shahid Anjum - 20.07.2019 07:19

You are the Savier !!!!

Ответить
ritik ranjan
ritik ranjan - 22.06.2019 14:09

do u work for idea

Ответить