In a timed Product-Based OA, what is the primary engineering purpose of applying Creational: Thread-Safe Singleton, Factory Method & Abstract Factory (Creational Patterns)?
- A. Used in loggers, payment gateways, and vehicle/notification instantiation
- B. To deliberately increase memory allocation and bypass Big-O analysis
- C. To hardcode answers strictly for sample test cases only
- D. To avoid analyzing input constraints before submitting code
✓ Reveal Answer & Explanation
Correct Answer: Option A
Creational: Thread-Safe Singleton, Factory Method & Abstract Factory is essential because: Used in loggers, payment gateways, and vehicle/notification instantiation