Object Oriented Programming in PHP Part5(Interface)

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 36

  • @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

  • @ankitmanmode2474
    @ankitmanmode2474 Рік тому

    Best वीडियो

  • @preetisharma5172
    @preetisharma5172 4 роки тому +1

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

  • @komalclub4235
    @komalclub4235 3 роки тому

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

  • @aunmohammad6220
    @aunmohammad6220 4 роки тому +2

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

  • @myadvise857
    @myadvise857 4 роки тому +1

    Keep working sir

  • @sachinshinde7793
    @sachinshinde7793 3 роки тому

    thank you sir ..this series you helped a lot

  • @hassanamanullah4251
    @hassanamanullah4251 Місяць тому

    Thanks💯❤

  • @JamateSirajiaFaisalabad
    @JamateSirajiaFaisalabad Рік тому

    Good Tutorial Videos

  • @nayanraval5359
    @nayanraval5359 3 роки тому

    Nice

  • @prajakta7515
    @prajakta7515 4 роки тому

    Thank you sir...

  • @dastgirakhtar9782
    @dastgirakhtar9782 4 роки тому

    Nice and clear

  • @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.

  • @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

  • @rajabhishek4973
    @rajabhishek4973 4 роки тому

    Sir oop base konsa project aayega ?

  • @bibhasash7371
    @bibhasash7371 2 роки тому

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

  • @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.

  • @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

  • @rajabhishek4973
    @rajabhishek4973 4 роки тому +1

    Awosem

  • @muhammadumair8200
    @muhammadumair8200 6 місяців тому

    well explained but example is not too good😂