πŸ“Š Angular
Q. What is a singleton service in Angular?
  • (A) A service that is instantiated once and shared across the application
  • (B) A service limited to a single module
  • (C) A service with multiple instances
  • (D) A built-in Angular service
πŸ’¬ Discuss
βœ… Correct Answer: (A) A service that is instantiated once and shared across the application

Explanation: Singleton services are provided at the root level and reused throughout the app.

Explanation by: Mr. Dubey
Singleton services are provided at the root level and reused throughout the app.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
39
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate