What is the Interface Segregation Principle (ISP) in Java?
ISP means that interfaces should only contain methods that are directly related to the implementing class, and should not include irrelevant methods.
That's partially correct. ISP suggests creating smaller, cohesive interfaces, but not necessarily just avoiding irrelevant methods.
How would you design a set of interfaces in a way that adheres to ISP?