Q. How is the root component of Angular app identified?

  • (A) It uses @NgModule
  • (B) It is declared in main.ts
  • (C) It is listed in bootstrap array in AppModule
  • (D) It is named root.component.ts
πŸ’¬ Discuss
βœ… Correct Answer: (C) It is listed in bootstrap array in AppModule
Explanation: The root component is listed in the bootstrap array of AppModule.
Explanation by: Mr. Dubey
The root component is listed in the bootstrap array of AppModule.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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