SOLID Principles: Interface Segregation Principle (ISP)

  • Developers shouldn’t be forced to depend upon interfaces that they don’t use.
  • Example:
public interface someInterface{