188k views
1 vote
Which principle suggests that specific single responsibility interfaces are better than one general purpose interface?

1 Answer

5 votes

Answer:Interface segregation principle

Step-by-step explanation: Interface-segregation principle (ISP) is amongst the major principles of the object-oriented design which describes that none of the users/clients can be forced for indulging and depending on the unknown methods or methods that they don't have knowledge about.

It functions by making the interfaces visible to the user that specifically fascinates them and keeping other smaller interfaces.Interfaces are made by splitting process and making the small interfaces from them.

User Saranya
by
5.4k points