Angular ngOnInit Vs Constructor

Today we are discussing class constructor and ngOnInit in angular. This is a very frequently asked question in the interview if you are going for an Angular Developer.