Interface Segregation Principle (ISP): Clients should not be forced to implement interfaces they do not use.Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules. Both should depend on abstractions.In ISP, interfaces should be small and specific to the needs of the implementing class.In DIP, high-level modules should depend on abstractions (interfaces), and low-level modules should implement those abstractions.