Multiple choice technology packaged enterprise solutions

What is the pattern used by BOM to instantiate the objects in BOM graph, per clients request?

  1. Adapter

  2. Singleton

  3. Factory

  4. All the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

BOM uses the Factory pattern to instantiate objects in the BOM graph per client request. The Factory pattern centralizes object creation logic, allowing for controlled instantiation and easy management of object lifecycles. Adapter is for interface compatibility, Singleton ensures single instances.