Q. Which method is used to navigate programmatically to a different route in Angular?
β
Correct Answer: (A)
router.navigate()
Explanation: router.navigate() is used to navigate to a different route programmatically.