LearnFrenzy
Sign in Take a free test

Abstract Classes and Interfaces · Abstract Class MCQ · Question 16

What is the interface segregation principle? Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 16 Back to Exercise

What does the interface segregation principle recommend?

  • A One big interface per program
  • B Many small, focused interfaces so classes implement only what they support Correct
  • C No interfaces at all
  • D Interfaces with data
Correct Answer: Option B

It is the "I" in SOLID.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links