Q. What is the role of the bootstrap array in @NgModule?

  • (A) Defines the root component(s) to load at startup
  • (B) Defines services to inject
  • (C) Defines routes
  • (D) Defines directives to use
πŸ’¬ Discuss
βœ… Correct Answer: (A) Defines the root component(s) to load at startup
Explanation: The bootstrap array lists the top-level components Angular should bootstrap.
Explanation by: Mr. Dubey
The bootstrap array lists the top-level components Angular should bootstrap.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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