Should model locator as a singleton class? Can't we instantiate this class as like normal class?
Answer Posted / Amrendra Pandey
"Model Locator is often implemented as a Singleton to ensure that only one instance of the class exists across the entire application. While it's technically possible to create multiple instances, doing so would lead to inconsistent data and potentially other issues."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers