πŸ“Š Angular
Q. What is Dependency Injection in Angular?
  • (A) Manual creation of service instances
  • (B) A design pattern to supply dependencies automatically
  • (C) Directly importing modules
  • (D) Using static variables
πŸ’¬ Discuss
βœ… Correct Answer: (B) A design pattern to supply dependencies automatically

Explanation: Angular uses DI to provide components with the dependencies they need.

Explanation by: Mr. Dubey
Angular uses DI to provide components with the dependencies they need.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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