#29 Kotlin Tutorial | Inheritance

  Рет қаралды 15,331

Telusko

Telusko

Күн бұрын

Пікірлер: 19
@Kanakapallianurag
@Kanakapallianurag 5 жыл бұрын
im so happy , that your on youtube. the way u teach is awesome . i love it. u turn me into alien from human. thank you so much
@JD-ot6br
@JD-ot6br 7 жыл бұрын
At 10:08, I do not clearly understand why you would create a reference of human, and then an object of Alien. What is the purpose of this?
@B-Billy
@B-Billy 4 жыл бұрын
This concept is know as polymorphism in OOP or 'Coding to Interface'. Try Googling it you will get so many examples.
@thanasisathanasi4965
@thanasisathanasi4965 5 жыл бұрын
Can you please help me understand what it means "var mayank : Human = Alien()" in 10:30 ? Does it mean that "mayank" is using the method defined in Human class and not the overriden method in Alien class? Thank you
@B-Billy
@B-Billy 4 жыл бұрын
This concept is know as polymorphism in OOP or 'Coding to Interface'. Try Googling it you will get so many examples.
@thanasisathanasi4965
@thanasisathanasi4965 4 жыл бұрын
@@B-Billy Thank you
@-BHarsha-kf5vx
@-BHarsha-kf5vx Жыл бұрын
this course is very helpful know the java concepts easy to catch points to understand this Kotlin simple syntax
@bhargav_k_jani5310
@bhargav_k_jani5310 6 жыл бұрын
sir please tell me what is restrict inheritance
@jabuci
@jabuci 7 жыл бұрын
You should've executed the last example (`var mayank : Human = Alien()`) to see the output. Will it print "Real Thinking" or "Virtual Thinking"?
@cosovic14
@cosovic14 4 жыл бұрын
It'll still print out "Virtual Thinking" because it's still an Alien Object with the overridden think function. Only difference now is that the ": Human" specifies that the actual object is of Type Human. So for example if you created a mutableListOf, you can put the mayank object in there because it's type is Human.
@mdjahidulislam9205
@mdjahidulislam9205 4 жыл бұрын
Its a great thing for us(java dev)
@NIKHILSHARMA-gm3pl
@NIKHILSHARMA-gm3pl 7 жыл бұрын
what is the difference between computer science , software engineering and information technology
@nicoqueijo
@nicoqueijo 7 жыл бұрын
Theory, implementation, maintenance/management
@NIKHILSHARMA-gm3pl
@NIKHILSHARMA-gm3pl 7 жыл бұрын
Nicolas Queijo what is the difference between software and computer engineering
@-BHarsha-kf5vx
@-BHarsha-kf5vx Жыл бұрын
we are aliens try to deep dive into alien aspect
@devrajsinghania6480
@devrajsinghania6480 7 жыл бұрын
DON'T CALL US ALIENS
@amsfuy
@amsfuy 7 жыл бұрын
I find this annoying, too :D
@neverzero9
@neverzero9 7 жыл бұрын
So, you don't like. but, why u here ? If you don't really know why. This is for you. kzbin.info/www/bejne/p33SfHWXnLOjos0
@silver10188
@silver10188 6 жыл бұрын
ikr? for some reason I don't find it funny. Philosophy just makes people sound weird because everyone has his own. Like I'm Ali follower, but can't call random people hi Ali followers.
#30 Kotlin Tutorial | Constructor in Inheritance
5:00
Telusko
Рет қаралды 10 М.
Kotlin Inheritance Tutorial - Inheritance with Example
9:40
Simplified Coding
Рет қаралды 11 М.
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Learn Kotlin in 12 Minutes
12:01
Rahul Pandey
Рет қаралды 349 М.
Python OOP Tutorial 4: Inheritance - Creating Subclasses
19:40
Corey Schafer
Рет қаралды 1,3 МЛН
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 992 М.
The Basics - Kotlin Coroutines
10:44
Stevdza-San
Рет қаралды 90 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 996 М.
Kotlin Newbie to Pro - INHERITANCE - Part 21
15:07
Philipp Lackner
Рет қаралды 19 М.
Java OOP in 10 Minutes (Java Object Oriented Programming) #95
10:05
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.