Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question : Which of the following statements best describes the concept of interface segregation in Java software design? A ) A class should implement as
Question : Which of the following statements best describes the concept of "interface segregation" in Java software design?
A ) A class should implement as many interfaces as possible to maximize functionality.
B ) No client should be forced to depend on methods it does not use.
C ) All interfaces should contain only one method to simplify implementation.
D ) Interfaces should be implemented only by abstract classes to maintain flexibility.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below The correct option is B No client should be forced to depend on methods it does not use R...Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started