Contents What is Abstract Factory Pattern Why use Abstract Factory Pattern? Abstract Factory and Factory Method in Common. Difference Example UML diagram Implementation What is Abstract Factory Pattern Abstract Factory...
Contents What is Deadlock? System Model Four Conditions for Deadlock How to Handle Deadlock ? Deadlock Prevention Deadlock Avoidance Deadlock Detection Deadlock Recovery What is Deadlock? Deadlock can occur when...
Contents What is Factory Method Pattern? Why use Factory Method Pattern? Problems in Factory Method Pattern Example UML diagram Implementation What is Factory Method Pattern? Factory method is literally a...
Contents What is Singleton Pattern? Why use Singleton Pattern? Problems in Singleton Pattern Thread-Safe Singleton Pattern 1. Eager Initialization (Not Thread-Safe) 2. Lazy initialization (Thread-Safe) 3. Lazy initialization and Double-checked...
Contents Role of Register and Memory What is Register? What is Memory? Role of Register and Memory Register and memory hold data that processors can directly access, and this increases...