Understanding Interface Segregation Principle
A client should never be forced to implement an interface that it doesn't use
A client should never be forced to implement an interface that it doesn't use
Software entities (classes, modules, functions, etc.) should be open for extension but closed for modification.
High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions.
Objects of a superclass should be replaceable with objects of its subclasses without affecting the correctness of the program.
Threads and Processes are two fundamental concepts in operating systems and computer science. They are used to execute multiple tasks concurrently. In this post, I will describe the difference between Threads and Processes.