πŸ“Š Angular
Q. What does the RouterModule.forRoot() method do?
  • (A) Configures the root routes for the application
  • (B) Defines lazy loaded routes
  • (C) Starts the Angular application
  • (D) Registers services
πŸ’¬ Discuss
βœ… Correct Answer: (A) Configures the root routes for the application

Explanation: forRoot() sets up the main routes for the app.

Explanation by: Mr. Dubey
forRoot() sets up the main routes for the app.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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