Static polymorphism in Java with example || Compile time polymorphism in Java [MOST IMP CONCEPT]

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 15

  • @jyotikumari-ru1sp
    @jyotikumari-ru1sp 2 ปีที่แล้ว +1

    Thanks so much...I have been watching for my interview...great job mam...

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Thanks Jyoti 🙂👍

  • @giorgi23
    @giorgi23 3 ปีที่แล้ว +1

    Thanks for the explanation. By the way please take into account when the video has the title polymorphism doesn't distract the listener on another thing, like explaining how java braces scope works.

  • @AlokMishra-g3h
    @AlokMishra-g3h 9 หลายเดือนก่อน

    u r explaination is great but one mistake we can do overload method by 3 ways: order of arguments,type of arguments and number of arguments

  • @sukunkusum1720
    @sukunkusum1720 3 ปีที่แล้ว +2

    Hi your videos are very helpful. You didnt explain the type promotion example.like what if we have 2 methods m1(int a,long b); and m1(long a,int b); and when we call m1(4,5); which method will be called? and how ambiguity can be resolved.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Yes we have covered it in videos

    • @fatimaadreeta
      @fatimaadreeta 3 ปีที่แล้ว

      it should have error, right? Because there is ambiguity

  • @meghatrivedi603
    @meghatrivedi603 4 ปีที่แล้ว +1

    I like you videos.. just try to take pause when you explain. Sometimes runs. Good luck👍🏻

    • @CodeDecode
      @CodeDecode  4 ปีที่แล้ว

      Sure. Will try to slow the pace. Thanks :)

  • @puneetachauhan6712
    @puneetachauhan6712 3 ปีที่แล้ว

    Your explanations are great, can you please share the PPT which you're showing in video

  • @barshabhattacharjee6788
    @barshabhattacharjee6788 4 ปีที่แล้ว

    For more : th-cam.com/video/q2RgFH1rPos/w-d-xo.html

  • @hamid786ish
    @hamid786ish 2 ปีที่แล้ว +1

    Why overloading also called as static polymorphism??

    • @raulrgh
      @raulrgh 2 ปีที่แล้ว +1

      I have the same doubt :(

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Because that's checked at compile time. Not at run time. Need more clarity?

    • @hamid786ish
      @hamid786ish ปีที่แล้ว

      @@CodeDecode So the word static refers to compile time??