Object Oriented Programming in PHP Part5(Interface)

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

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

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

    Love From Pakistan To you Sir Best Teacher I ever seen on YOutube Great and thanks for PHP OOP sir

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

    This opps series helps me alot... Thank you for this series

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

    conceptual explanation . Helping a lot. Thank you sir

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

    Thank a lot, your videos are beyond the appreciation. Hat's off.

  • @DeepakVerma-kt8el
    @DeepakVerma-kt8el 4 года назад

    this oops series is awesome help me alot best tutorial for me ... thnx sir

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

    I just love your explanation

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

    Excellent explanation....Thanks for sharing the difference between abstraction and interface.

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

    Keep working sir

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

    This really helps me a lot. Thank You so much sir.

  • @ankitmanmode2474
    @ankitmanmode2474 Год назад

    Best वीडियो

  • @Trendi_Vibes
    @Trendi_Vibes 15 дней назад

    Sir, why did you stop posting video you are a true gem 💎 for us 😊

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

    thank you sir ..this series you helped a lot

  • @aunmohammad6220
    @aunmohammad6220 4 года назад +2

    I always waiting for your videos!! please implement oops concept like abstraction, traits, interface & static in realtime project.

  • @hassanamanullah4251
    @hassanamanullah4251 2 месяца назад

    Thanks💯❤

  • @JamateSirajiaFaisalabad
    @JamateSirajiaFaisalabad Год назад

    Good Tutorial Videos

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

    Thank you sir...

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

    Nice

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

    Nice and clear

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

    Interface me jab function ko body define nhi kar skte tho fir iska kya fyda ?
    Because Hun jaha bhe interface ka function extend krege wha har bar body define krne pdege.
    Means parent class ke functionality ko tho hun extend nhi kar rhe. Hum tho new code likh rhe hai child class me

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

    Sir, I have a doubt, ie by using interface we need to define (body) the function in the main class and also need to declare interface class & Abstract function, then why should we use that function directly in that main class with out using interface class? because if we using interface our code length is too large...

    • @sagar3025
      @sagar3025 2 года назад +1

      If you want to enforce any method to use in child class and it should be compulsory then interface/abstract class required with method declaration. If its not mandatory in your all child class then no need of this concept and dont need to extends/implements to any classes.

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

    Sir oop base konsa project aayega ?

  • @SalmanKhan-cb9gv
    @SalmanKhan-cb9gv 2 года назад +1

    hi sir hope you are doing okay. sit whats the benefit of interfaces even they allow us multilevel inheritance but if we see there is no body in the interface class, so instead of just declaring the functions in multiple interfaces and then implementing a class from multiple interfaces, why dont we declare those functions in a single. because the interface just allow us to write the name of the function not the body of a function. so it cannot be used as code re-usability.

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

      have you found this answer? was thinking the same, why use, it when we have to define every thing again?

    • @SalmanKhan-cb9gv
      @SalmanKhan-cb9gv 2 года назад

      @@muhammadsubhanakram5323 not yet

    • @ankitchadoker5141
      @ankitchadoker5141 Год назад

      i think if we take the previous example of bank and add another class of loan as well we can define all the guidelines regarding banking in the bank interface and other guideline regarding loan in loan interface and then make all the banks (hdfc, icici, idbi) to implement these two interfaces and follow the guidelines according to there way as each bank can have there interest rates and there way to authenticating profile so it depends on them how do they do that but to make them follow the guidelines is where we can use these interfaces..... hope this will help you tried to convey my understanding that's how I understood this topic.

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

    what will happen if there is same function name in both oft the interface

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

    Sir in this video you said interface can only abstract function and second time said all function must be public. It means thoese function have not body that is abstract function

  • @muhammadumair8200
    @muhammadumair8200 7 месяцев назад

    well explained but example is not too good😂

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

    Awosem