Question: What lifecycle hook can be used on a component to monitor all changes to @Input values on that component?

  1. ngOnInit
  2. ngChanges
  3. ngAfterInputChange
  4. ngOnChanges

Answer: The correct answer of the above question is Option D:ngOnChanges