Kotlin Inheritance Tutorial - Inheritance with Example

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • We learned about classes and constructors in Kotlin. Now let's move to Inheritance that is one of the main feature of Object Oriented Programming.
    In this video we will learn how we can implement inheritance in Kotlin Programming Language. Inheritance means deriving classes from an existing class. The child classes that we derive using an existing class inherits the properties and implementations from the parent class; so we do not have to define the implementations of parent class again. Hence, inheritance helps us in reusing the existing code.
    In this Kotlin Inheritance tutorial we will learn how to use Inheritance in Kotlin.
    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.
    👉 bit.ly/3lMLtpj
    All the codes about this Kotlin Android Tutorial for Beginners are organized sequentially in this repository
    👉 bit.ly/2UoyiQf
    And if you need more support, then you can join the Simplified Coding’s Quora Space to post your questions.
    👉 www.quora.com/...
    If you want to get in touch with me; you can find my contact details here:
    👉 www.simplified...
    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.
    👉 www.simplified...
    You can SUPPORT me if you want
    👉 Patreon: / belalkhan
    👉 UPI (India Only): probelalkhan@okaxis
    👉 PayTM (India Only): +917549161079
    👉 PayPal: www.paypal.me/...
    You can also check some of my other courses from these links
    👉 Android MVVM Tutorial: bit.ly/3iLfVzu
    👉 Android Game Development Tutorial: bit.ly/38JmltC
    👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
    👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
    👉 Android Room Tutorial: bit.ly/2PfQHeN
    👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
    👉 Android Notification Tutorial: bit.ly/2Sc6jQl
    👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
    👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
    ❤️❤️ Thank You All for the Love and Support ❤️❤️
    #KotlinOOP
    #OOPsConcept
    #LearnKotlin

Комментарии • 18

  • @JahangirJadi
    @JahangirJadi 4 года назад +4

    You are literally making my life easier by making these tutorials. Thanks a lot.

  • @shreyashchoudhary7413
    @shreyashchoudhary7413 3 года назад

    Loved it!

  • @shubhamtech9
    @shubhamtech9 4 года назад

    keep uploading videos....

  • @meetshah5287
    @meetshah5287 3 года назад +1

    Hey, how did you add a coffee cup in println statement at 1;50

  • @tortoiseshell_cat
    @tortoiseshell_cat 4 года назад +1

    why data class does not accept inheritance if u know please help me

  • @abdorizak
    @abdorizak 2 года назад

    what if i want to `override` the function it force to make it open how?

  • @arslanrasit
    @arslanrasit 2 года назад

    If it inherits properties of the parent class, why did you still specify "private val price: Double" and "private val color: Strinng" in PremiumCoffeeMachine as well?

  • @jasdevsingh6795
    @jasdevsingh6795 3 года назад

    Quite helpful till now, However, what about types of inheritance

  • @Hotdogflavoredwatermelon
    @Hotdogflavoredwatermelon 3 года назад

    Yes I got a question 😃 How to understand that all 😵

  • @mohanchaudhari3082
    @mohanchaudhari3082 3 года назад +1

    You even didn't used protected visibility modifier

    • @SimplifiedCoding
      @SimplifiedCoding  3 года назад

      Can you explain a little more about what you are asking?

  • @Ab-no6rz
    @Ab-no6rz 4 года назад

    2:30 I will rather drink tea instead of 10k ruppes coffee

    • @SimplifiedCoding
      @SimplifiedCoding  4 года назад +1

      Its the machine price 😄😄

    • @Ab-no6rz
      @Ab-no6rz 4 года назад

      @@SimplifiedCoding 😁😁😁

  • @faris6755
    @faris6755 3 года назад

    belal abn rabah