Polymorphism: Compile Time vs Run Time ( Dynamic Method Dispatch )

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

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

  • @NonCSWala
    @NonCSWala 17 дней назад

    Sidhi Baat , NO Bakwass ,,,,, great sir i am a EEE student ,, jb mujhe smaj aa rha hai tb CS walo ko to or bhi easy lgta hoga

  • @UmangPatil-f6c
    @UmangPatil-f6c 9 дней назад

    aaj smaj me aaya sir polymorphism thanks a lot ..

  • @santoshkumar-vm
    @santoshkumar-vm Месяц назад +1

    Jitna Simple aap kar dete ho na .. muje kahi nahi mila aisa .. Udemy pe bhi nahi .... Love u sir ji❤

  • @rajgopalmutnali1127
    @rajgopalmutnali1127 4 месяца назад

    watching your videos and learning from you lectures give some other level of confidence and feeling. And i never regret of watching your videos.
    the Way you explain and demonstration is up to mark, keep giving QUALITY content.

  • @UttamKumar-pm5hu
    @UttamKumar-pm5hu 4 дня назад

    Thank you so much sir fully cleared polymorphism 😊

  • @Dummi-s3p
    @Dummi-s3p 4 месяца назад +1

    After watching the video, I still had one doubt about why overriding is not considered compile-time polymorphism. And I found an answer, so to whosoever had the same doubt, here is an answer for you:
    During compilation, the compiler only knows about the references and not the objects. So when we say `Animal animal = new Dog();`, the compiler only knows that the `animal` variable is of type `Animal`. When we call a function using this variable like `animal.walk();`, the compiler doesn't know which method to call until the program is actually running, where the object is created. This is why the decision on which method to invoke happens at runtime, not at compile time.

  • @redits2420
    @redits2420 Месяц назад

    Cleared the concept that for accessing the method through parent reference via child object is possible iff the method is already present in parent class 🙃

  • @karanbhoi5895
    @karanbhoi5895 4 месяца назад

    This guy is underrated yarr! He covers in-depth concepts with such clarity. Just superb!
    Thank you brother for such a concept based learning ❤

  • @AshishKumar-ft6wv
    @AshishKumar-ft6wv Месяц назад +1

    Thanks for teaching in depth

  • @fun_code_info
    @fun_code_info Месяц назад

    Sir voice is very excellent so voice vaje se concentrate karta hai Banda thankyou sir

  • @manjulbhardwaj2148
    @manjulbhardwaj2148 3 месяца назад

    Superb Quality Sir
    For Understanding the concept of Any topic keep it sir🫡🙏

  • @MeetPatel_9090
    @MeetPatel_9090 4 месяца назад +3

    sir aapke videos dekhke mene sikha or abhi mera 4.5 lakh ka pakage laga hai thank you sir

  • @mukeshrai9565
    @mukeshrai9565 5 месяцев назад +1

    Superb explanation sir

  • @ahmadfaraz9279
    @ahmadfaraz9279 4 месяца назад

    One suggestion. Please make a video on memory (heap and stack) with diagrams, showing when the memory is created, etc..

  • @ezlazy
    @ezlazy 3 месяца назад

    Vipul bhai, method overriding mai , interviewer ghuma deta hai candidate ko.
    aap add kar sakte hai last mai some interview questions, or can give questions in the description with a link :) .

  • @mahnoornaeem8828
    @mahnoornaeem8828 12 дней назад

    Superb!

  • @vasubansal2557
    @vasubansal2557 4 месяца назад +1

    sir ek video interface par bhi upload krdijiye.

  • @kaifansari527
    @kaifansari527 4 месяца назад

    SIr sab kuch mast hai ek interview series tricky questions bhi include karogai toh abhut help hoajyegi

  • @LubnaShaikh-ut1ii
    @LubnaShaikh-ut1ii 3 месяца назад

    FYI : Ladkiya bhi apki videos dekheti hai Sir.rrr... Keep going 👍👏😊

  • @byramnarayan
    @byramnarayan 2 месяца назад +1

    Today polymorphism lecture went really well. use Gemini for Exercises questions sir app ko Gemini Ke prompt dena Chiye description me.
    e.g. I get it from internet another Teacher.
    I'm learning about polymorphism in java. Please provide:
    1. A concise explanation of polymorphisms, including its purpose and when it's commonly used.
    2. A simple code example demonstrating polymorphism.
    3. Three common mistakes or misconceptions beginners often have about polymorphisms and how to avoid them.
    4. Two real-world applications or scenarios where polymorphism is particularly useful.
    5. Three progressively challenging exercises that will help me practice using polymorphism.
    Please don't provide solutions, only the problem statements.
    After providing this information, please ask me a thought-provoking question about polymorphism that will encourage me to think deeper about its applications or implications.

  • @creativemind9323
    @creativemind9323 Месяц назад

    maza aa gya padh kar

  • @AiushGhosh
    @AiushGhosh 5 месяцев назад +1

    Next topic sir

  • @AiushGhosh
    @AiushGhosh 5 месяцев назад +1

    Next sir pls