_______ is a principle in OOP that promotes the idea of coding to an interface rather than an implementation.

  • Dependency Injection
  • Encapsulation
  • Interface Segregation
  • Inversion of Control
Interface Segregation is a principle in OOP that encourages coding to an interface rather than an implementation. It emphasizes creating small, client-specific interfaces to prevent unnecessary dependencies.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *