Answers

Question and Answer:

  Home  Jnr PHP/Codeigniter Developer

⟩ Explain me in PHP what is the difference between a Class and an Interface?

Interface defines the methods and their parameters. Class can then implement the interface (or multiple interfaces) and needs to define such methods. So interface defines outline and class-specific behaviour.

 177 views

More Questions for you: