The Interface Segregation Principle

Sometimes, developers create large interfaces that contain too much information. Many classes might use this interface, but they might not need everything in it. This is what you should avoid to follow this principle. This principle supports small interfaces instead of big interfaces and, if necessary, a class can inherit multiple small interfaces that are actually applicable for the class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.77.76